string.h 925 B

1234567891011121314151617181920212223242526272829
  1. #ifndef _ASM_POWERPC_STRING_H
  2. #define _ASM_POWERPC_STRING_H
  3. #ifdef __KERNEL__
  4. #define __HAVE_ARCH_STRNCPY
  5. #define __HAVE_ARCH_STRNCMP
  6. #define __HAVE_ARCH_MEMSET
  7. #define __HAVE_ARCH_MEMCPY
  8. #define __HAVE_ARCH_MEMMOVE
  9. #define __HAVE_ARCH_MEMCMP
  10. #define __HAVE_ARCH_MEMCHR
  11. extern char * strcpy(char *,const char *);
  12. extern char * strncpy(char *,const char *, __kernel_size_t);
  13. extern __kernel_size_t strlen(const char *);
  14. extern int strcmp(const char *,const char *);
  15. extern int strncmp(const char *, const char *, __kernel_size_t);
  16. extern char * strcat(char *, const char *);
  17. extern void * memset(void *,int,__kernel_size_t);
  18. extern void * memcpy(void *,const void *,__kernel_size_t);
  19. extern void * memmove(void *,const void *,__kernel_size_t);
  20. extern int memcmp(const void *,const void *,__kernel_size_t);
  21. extern void * memchr(const void *,int,__kernel_size_t);
  22. #endif /* __KERNEL__ */
  23. #endif /* _ASM_POWERPC_STRING_H */