blob: 3643a79fdfc1c014d25d3aade1c8f3a13164c411 [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 */
Graeme Russ3ef96de2008-09-07 07:08:42 +10008#undef __HAVE_ARCH_STRNCPY
9extern char *strncpy(char *__dest, __const__ char *__src, __kernel_size_t __n);
wdenk2262cfe2002-11-18 00:14:45 +000010
wdenkb2184c32002-11-19 23:01:07 +000011#undef __HAVE_ARCH_STRRCHR
wdenk2262cfe2002-11-18 00:14:45 +000012extern char * strrchr(const char * s, int c);
13
wdenkb2184c32002-11-19 23:01:07 +000014#undef __HAVE_ARCH_STRCHR
wdenk2262cfe2002-11-18 00:14:45 +000015extern char * strchr(const char * s, int c);
16
wdenkb2184c32002-11-19 23:01:07 +000017#undef __HAVE_ARCH_MEMCPY
wdenk2262cfe2002-11-18 00:14:45 +000018extern void * memcpy(void *, const void *, __kernel_size_t);
19
wdenkb2184c32002-11-19 23:01:07 +000020#undef __HAVE_ARCH_MEMMOVE
wdenk2262cfe2002-11-18 00:14:45 +000021extern void * memmove(void *, const void *, __kernel_size_t);
22
wdenkb2184c32002-11-19 23:01:07 +000023#undef __HAVE_ARCH_MEMCHR
wdenk2262cfe2002-11-18 00:14:45 +000024extern void * memchr(const void *, int, __kernel_size_t);
25
wdenkb2184c32002-11-19 23:01:07 +000026#undef __HAVE_ARCH_MEMSET
wdenk2262cfe2002-11-18 00:14:45 +000027extern void * memset(void *, int, __kernel_size_t);
28
wdenkb2184c32002-11-19 23:01:07 +000029#undef __HAVE_ARCH_MEMZERO
wdenk2262cfe2002-11-18 00:14:45 +000030extern void memzero(void *ptr, __kernel_size_t n);
31
32#endif