11 # define strrchr rindex
13 char *strchr (), *strrchr ();
16 # define memcpy(d, s, n) bcopy ((s), (d), (n))
17 # define memmove(d, s, n) bcopy ((s), (d), (n))
21 #if defined( HAVE_MEMMOVE )
22 #define SAFEMEMCPY( d, s, n ) memmove((s), (d), (n))
23 #elif defined( HAVE_BCOPY )
24 #define SAFEMEMCPY( d, s, n ) bcopy((s), (d), (n))
25 #elif defined( MACOS )
26 #define SAFEMEMCPY( d, s, n ) BlockMoveData((Ptr)(s), (Ptr)(d), (n))
28 /* nothing left but memcpy() */
29 #define SAFEMEMCPY( d, s, n ) memcpy((s), (d), (n))
32 #endif /* _AC_STRING_H */