1 /* Internal definitions for libargp.h */
2 
3 #if STDC_HEADERS || HAVE_STRING_H
4 #include <string.h>
5 /* An ANSI string.h and pre-ANSI memory.h might conflict.  */
6 #if !STDC_HEADERS && HAVE_MEMORY_H
7 #include <memory.h>
8 #include <strings.h>
9 #endif /* not STDC_HEADERS and HAVE_MEMORY_H */
10 #define rindex strrchr
11 #define index strchr
12 #define bcopy(s, d, n) memcpy ((d), (s), (n))
13 #define bcmp(s1, s2, n) memcmp ((s1), (s2), (n))
14 #define bzero(s, n) memset ((s), 0, (n))
15 #else /* not STDC_HEADERS and not HAVE_STRING_H */
16 #include <strings.h>
17 /* memory.h and strings.h conflict on some systems.  */
18 #endif /* not STDC_HEADERS and not HAVE_STRING_H */
19 
20