0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef _ASM_ARC_STRING_H
0013 #define _ASM_ARC_STRING_H
0014
0015 #include <linux/types.h>
0016
0017 #define __HAVE_ARCH_MEMSET
0018 #define __HAVE_ARCH_MEMCPY
0019 #define __HAVE_ARCH_MEMCMP
0020 #define __HAVE_ARCH_STRCHR
0021 #define __HAVE_ARCH_STRCPY
0022 #define __HAVE_ARCH_STRCMP
0023 #define __HAVE_ARCH_STRLEN
0024
0025 extern void *memset(void *ptr, int, __kernel_size_t);
0026 extern void *memcpy(void *, const void *, __kernel_size_t);
0027 extern void memzero(void *ptr, __kernel_size_t n);
0028 extern int memcmp(const void *, const void *, __kernel_size_t);
0029 extern char *strchr(const char *s, int c);
0030 extern char *strcpy(char *dest, const char *src);
0031 extern int strcmp(const char *cs, const char *ct);
0032 extern __kernel_size_t strlen(const char *);
0033
0034 #endif