2002-11-18 00:14:45 +00:00
|
|
|
#ifndef __ASM_I386_STRING_H
|
|
|
|
#define __ASM_I386_STRING_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* We don't do inline string functions, since the
|
|
|
|
* optimised inline asm versions are not small.
|
|
|
|
*/
|
2008-09-06 21:08:42 +00:00
|
|
|
#undef __HAVE_ARCH_STRNCPY
|
|
|
|
extern char *strncpy(char *__dest, __const__ char *__src, __kernel_size_t __n);
|
2002-11-18 00:14:45 +00:00
|
|
|
|
2002-11-19 23:01:07 +00:00
|
|
|
#undef __HAVE_ARCH_STRRCHR
|
2002-11-18 00:14:45 +00:00
|
|
|
extern char * strrchr(const char * s, int c);
|
|
|
|
|
2002-11-19 23:01:07 +00:00
|
|
|
#undef __HAVE_ARCH_STRCHR
|
2002-11-18 00:14:45 +00:00
|
|
|
extern char * strchr(const char * s, int c);
|
|
|
|
|
2011-12-27 11:46:39 +00:00
|
|
|
#define __HAVE_ARCH_MEMCPY
|
2002-11-18 00:14:45 +00:00
|
|
|
extern void * memcpy(void *, const void *, __kernel_size_t);
|
|
|
|
|
2002-11-19 23:01:07 +00:00
|
|
|
#undef __HAVE_ARCH_MEMMOVE
|
2002-11-18 00:14:45 +00:00
|
|
|
extern void * memmove(void *, const void *, __kernel_size_t);
|
|
|
|
|
2002-11-19 23:01:07 +00:00
|
|
|
#undef __HAVE_ARCH_MEMCHR
|
2002-11-18 00:14:45 +00:00
|
|
|
extern void * memchr(const void *, int, __kernel_size_t);
|
|
|
|
|
2011-11-14 14:47:18 +00:00
|
|
|
#define __HAVE_ARCH_MEMSET
|
2002-11-18 00:14:45 +00:00
|
|
|
extern void * memset(void *, int, __kernel_size_t);
|
|
|
|
|
2002-11-19 23:01:07 +00:00
|
|
|
#undef __HAVE_ARCH_MEMZERO
|
2002-11-18 00:14:45 +00:00
|
|
|
extern void memzero(void *ptr, __kernel_size_t n);
|
|
|
|
|
|
|
|
#endif
|