string.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef _PPC64_STRING_H_
  2. #define _PPC64_STRING_H_
  3. /*
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation; either version
  7. * 2 of the License, or (at your option) any later version.
  8. */
  9. #define __HAVE_ARCH_STRCPY
  10. #define __HAVE_ARCH_STRNCPY
  11. #define __HAVE_ARCH_STRLEN
  12. #define __HAVE_ARCH_STRCMP
  13. #define __HAVE_ARCH_STRCAT
  14. #define __HAVE_ARCH_MEMSET
  15. #define __HAVE_ARCH_MEMCPY
  16. #define __HAVE_ARCH_MEMMOVE
  17. #define __HAVE_ARCH_MEMCMP
  18. #define __HAVE_ARCH_MEMCHR
  19. extern int strcasecmp(const char *, const char *);
  20. extern int strncasecmp(const char *, const char *, int);
  21. extern char * strcpy(char *,const char *);
  22. extern char * strncpy(char *,const char *, __kernel_size_t);
  23. extern __kernel_size_t strlen(const char *);
  24. extern int strcmp(const char *,const char *);
  25. extern char * strcat(char *, const char *);
  26. extern void * memset(void *,int,__kernel_size_t);
  27. extern void * memcpy(void *,const void *,__kernel_size_t);
  28. extern void * memmove(void *,const void *,__kernel_size_t);
  29. extern int memcmp(const void *,const void *,__kernel_size_t);
  30. extern void * memchr(const void *,int,__kernel_size_t);
  31. #endif /* _PPC64_STRING_H_ */