10 #define __NEED_locale_t
11 #include <bits/alltypes.h>
13 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_POSIX_SOURCE) \
14 || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE+0 < 200809L) \
15 || (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE+0 < 700)
16 int bcmp (const void *, const void *, size_t);
17 void bcopy (const void *, void *, size_t);
18 void bzero (void *, size_t);
19 char *index (const char *, int);
20 char *rindex (const char *, int);
23 #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
26 int ffsll (long long);
29 int strcasecmp (const char *, const char *);
30 int strncasecmp (const char *, const char *, size_t);
32 int strcasecmp_l (const char *, const char *, locale_t
);
33 int strncasecmp_l (const char *, const char *, size_t, locale_t
);