1
2
3
4
5
6
7
8
9
10
11
12 #ifndef _ASM_ARC_STRING_H
13 #define _ASM_ARC_STRING_H
14
15 #include <linux/types.h>
16
17 #define __HAVE_ARCH_MEMSET
18 #define __HAVE_ARCH_MEMCPY
19 #define __HAVE_ARCH_MEMCMP
20 #define __HAVE_ARCH_STRCHR
21 #define __HAVE_ARCH_STRCPY
22 #define __HAVE_ARCH_STRCMP
23 #define __HAVE_ARCH_STRLEN
24
25 extern void *memset(void *ptr, int, __kernel_size_t);
26 extern void *memcpy(void *, const void *, __kernel_size_t);
27 extern void memzero(void *ptr, __kernel_size_t n);
28 extern int memcmp(const void *, const void *, __kernel_size_t);
29 extern char *strchr(const char *s, int c);
30 extern char *strcpy(char *dest, const char *src);
31 extern int strcmp(const char *cs, const char *ct);
32 extern __kernel_size_t strlen(const char *);
33
34 #endif