blob: c3782224868fba83b4f9c2feba5d300d26ab7557 [file] [log] [blame]
wdenk2262cfe2002-11-18 00:14:45 +00001#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 */
8
9#define __HAVE_ARCH_STRRCHR
10extern char * strrchr(const char * s, int c);
11
12#define __HAVE_ARCH_STRCHR
13extern char * strchr(const char * s, int c);
14
15#define __HAVE_ARCH_MEMCPY
16extern void * memcpy(void *, const void *, __kernel_size_t);
17
18#define __HAVE_ARCH_MEMMOVE
19extern void * memmove(void *, const void *, __kernel_size_t);
20
21#define __HAVE_ARCH_MEMCHR
22extern void * memchr(const void *, int, __kernel_size_t);
23
24#define __HAVE_ARCH_MEMSET
25extern void * memset(void *, int, __kernel_size_t);
26
27#define __HAVE_ARCH_MEMZERO
28extern void memzero(void *ptr, __kernel_size_t n);
29
30#endif