1 #ifndef __ASM_I386_STRING_H
2 #define __ASM_I386_STRING_H
5 * We don't do inline string functions, since the
6 * optimised inline asm versions are not small.
8 #undef __HAVE_ARCH_STRNCPY
9 extern char *strncpy(char *__dest, __const__ char *__src, __kernel_size_t __n);
11 #undef __HAVE_ARCH_STRRCHR
12 extern char * strrchr(const char * s, int c);
14 #undef __HAVE_ARCH_STRCHR
15 extern char * strchr(const char * s, int c);
17 #undef __HAVE_ARCH_MEMCPY
18 extern void * memcpy(void *, const void *, __kernel_size_t);
20 #undef __HAVE_ARCH_MEMMOVE
21 extern void * memmove(void *, const void *, __kernel_size_t);
23 #undef __HAVE_ARCH_MEMCHR
24 extern void * memchr(const void *, int, __kernel_size_t);
26 #undef __HAVE_ARCH_MEMSET
27 extern void * memset(void *, int, __kernel_size_t);
29 #undef __HAVE_ARCH_MEMZERO
30 extern void memzero(void *ptr, __kernel_size_t n);