]>
Commit | Line | Data |
---|---|---|
2262cfee WD |
1 | #ifndef __ASM_I386_STRING_H |
2 | #define __ASM_I386_STRING_H | |
3 | ||
4 | /* | |
5 | * We don't do inline string functions, since the | |
6 | * optimised inline asm versions are not small. | |
7 | */ | |
3ef96ded GR |
8 | #undef __HAVE_ARCH_STRNCPY |
9 | extern char *strncpy(char *__dest, __const__ char *__src, __kernel_size_t __n); | |
2262cfee | 10 | |
b2184c31 | 11 | #undef __HAVE_ARCH_STRRCHR |
2262cfee WD |
12 | extern char * strrchr(const char * s, int c); |
13 | ||
b2184c31 | 14 | #undef __HAVE_ARCH_STRCHR |
2262cfee WD |
15 | extern char * strchr(const char * s, int c); |
16 | ||
b2c2a038 | 17 | #define __HAVE_ARCH_MEMCPY |
2262cfee WD |
18 | extern void * memcpy(void *, const void *, __kernel_size_t); |
19 | ||
b2184c31 | 20 | #undef __HAVE_ARCH_MEMMOVE |
2262cfee WD |
21 | extern void * memmove(void *, const void *, __kernel_size_t); |
22 | ||
b2184c31 | 23 | #undef __HAVE_ARCH_MEMCHR |
2262cfee WD |
24 | extern void * memchr(const void *, int, __kernel_size_t); |
25 | ||
dbaef6ef | 26 | #define __HAVE_ARCH_MEMSET |
2262cfee WD |
27 | extern void * memset(void *, int, __kernel_size_t); |
28 | ||
b2184c31 | 29 | #undef __HAVE_ARCH_MEMZERO |
2262cfee WD |
30 | extern void memzero(void *ptr, __kernel_size_t n); |
31 | ||
32 | #endif |