26 # define strrchr rindex
30 # define memcpy(d, s, n) bcopy ((s), (d), (n))
31 # define memmove(d, s, n) bcopy ((s), (d), (n))
36 * provide prototypes for missing functions that we replace.
37 * replacements can be found in -llutil
40 char *strdup( const char *s );
44 # if defined( HAVE_MEMMOVE )
45 # define SAFEMEMCPY( d, s, n ) memmove((d), (s), (n))
46 # elif defined( HAVE_BCOPY )
47 # define SAFEMEMCPY( d, s, n ) bcopy((s), (d), (n))
49 /* nothing left but memcpy() */
50 # define SAFEMEMCPY( d, s, n ) memcpy((d), (s), (n))
54 #endif /* _AC_STRING_H */