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