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