strings.h 619 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef _STRINGS_H
  2. #define _STRINGS_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #define __NEED_size_t
  7. #define __NEED_locale_t
  8. #include <bits/alltypes.h>
  9. int bcmp (const void *, const void *, size_t);
  10. void bcopy (const void *, void *, size_t);
  11. void bzero (void *, size_t);
  12. int ffs (int);
  13. char *index (const char *, int);
  14. char *rindex (const char *, int);
  15. int strcasecmp (const char *, const char *);
  16. int strncasecmp (const char *, const char *, size_t);
  17. int strcasecmp_l (const char *, const char *, locale_t);
  18. int strncasecmp_l (const char *, const char *, size_t, locale_t);
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif