2 * Define string ops: strchr strrchr memcmp memmove memset
23 # include <strings.h> /* bcmp, bcopy, bzero */
26 void ntp_memset (char *, int, int);
28 #define memcmp(a, b, c) bcmp(a, b, (int)(c))
29 #define memmove(t, f, c) bcopy(f, t, (int)(c))
30 #define memcpy(t, f, c) bcopy(f, t, (int)(c))
31 #define memset(a, x, c) if (0 == (x)) \
34 ntp_memset((char *)(a), x, c)
35 #endif /* NTP_NEED_BOPS */
37 #endif /* NTP_STRING_H */