wdenk | b15cbc0 | 2000-08-21 15:05:47 +0000 | [diff] [blame] | 1 | #ifndef _PPC_STRING_H_ |
| 2 | #define _PPC_STRING_H_ |
| 3 | |
| 4 | #define __HAVE_ARCH_STRCPY |
| 5 | #define __HAVE_ARCH_STRNCPY |
| 6 | #define __HAVE_ARCH_STRLEN |
| 7 | #define __HAVE_ARCH_STRCMP |
| 8 | #define __HAVE_ARCH_STRCAT |
| 9 | #define __HAVE_ARCH_MEMSET |
| 10 | #define __HAVE_ARCH_BCOPY |
| 11 | #define __HAVE_ARCH_MEMCPY |
| 12 | #define __HAVE_ARCH_MEMMOVE |
| 13 | #define __HAVE_ARCH_MEMCMP |
| 14 | #define __HAVE_ARCH_MEMCHR |
| 15 | |
| 16 | extern int strcasecmp(const char *, const char *); |
Simon Glass | 459af69 | 2012-12-05 14:46:35 +0000 | [diff] [blame] | 17 | extern int strncasecmp(const char *, const char *, __kernel_size_t); |
wdenk | b15cbc0 | 2000-08-21 15:05:47 +0000 | [diff] [blame] | 18 | extern char * strcpy(char *,const char *); |
| 19 | extern char * strncpy(char *,const char *, __kernel_size_t); |
| 20 | extern __kernel_size_t strlen(const char *); |
| 21 | extern int strcmp(const char *,const char *); |
| 22 | extern char * strcat(char *, const char *); |
| 23 | extern void * memset(void *,int,__kernel_size_t); |
| 24 | extern void * memcpy(void *,const void *,__kernel_size_t); |
| 25 | extern void * memmove(void *,const void *,__kernel_size_t); |
| 26 | extern int memcmp(const void *,const void *,__kernel_size_t); |
| 27 | extern void * memchr(const void *,int,__kernel_size_t); |
| 28 | |
| 29 | #endif |