1
2
3
4
5
6
7
8
9
10
11
12
13
14
15#ifndef _ASM_TILE_STRING_H
16#define _ASM_TILE_STRING_H
17
18#define __HAVE_ARCH_MEMCHR
19#define __HAVE_ARCH_MEMSET
20#define __HAVE_ARCH_MEMCPY
21#define __HAVE_ARCH_MEMMOVE
22#define __HAVE_ARCH_STRCHR
23#define __HAVE_ARCH_STRLEN
24#define __HAVE_ARCH_STRNLEN
25
26extern __kernel_size_t strlen(const char *);
27extern __kernel_size_t strnlen(const char *, __kernel_size_t);
28extern char *strchr(const char *s, int c);
29extern void *memchr(const void *s, int c, size_t n);
30extern void *memset(void *, int, __kernel_size_t);
31extern void *memcpy(void *, const void *, __kernel_size_t);
32extern void *memmove(void *, const void *, __kernel_size_t);
33
34#endif
35