~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/include/linux/string.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #ifndef _LINUX_STRING_H_
  2 #define _LINUX_STRING_H_
  3 
  4 #include <linux/types.h>        /* for size_t */
  5 #include <linux/stddef.h>       /* for NULL */
  6 
  7 #ifdef __cplusplus
  8 extern "C" {
  9 #endif
 10 
 11 extern char * ___strtok;
 12 extern char * strpbrk(const char *,const char *);
 13 extern char * strtok(char *,const char *);
 14 extern char * strsep(char **,const char *);
 15 extern __kernel_size_t strspn(const char *,const char *);
 16 
 17 
 18 /*
 19  * Include machine specific inline routines
 20  */
 21 #include <asm/string.h>
 22 
 23 #ifndef __HAVE_ARCH_STRCPY
 24 extern char * strcpy(char *,const char *);
 25 #endif
 26 #ifndef __HAVE_ARCH_STRNCPY
 27 extern char * strncpy(char *,const char *, __kernel_size_t);
 28 #endif
 29 #ifndef __HAVE_ARCH_STRCAT
 30 extern char * strcat(char *, const char *);
 31 #endif
 32 #ifndef __HAVE_ARCH_STRNCAT
 33 extern char * strncat(char *, const char *, __kernel_size_t);
 34 #endif
 35 #ifndef __HAVE_ARCH_STRCMP
 36 extern int strcmp(const char *,const char *);
 37 #endif
 38 #ifndef __HAVE_ARCH_STRNCMP
 39 extern int strncmp(const char *,const char *,__kernel_size_t);
 40 #endif
 41 #ifndef __HAVE_ARCH_STRNICMP
 42 extern int strnicmp(const char *, const char *, __kernel_size_t);
 43 #endif
 44 #ifndef __HAVE_ARCH_STRCHR
 45 extern char * strchr(const char *,int);
 46 #endif
 47 #ifndef __HAVE_ARCH_STRRCHR
 48 extern char * strrchr(const char *,int);
 49 #endif
 50 #ifndef __HAVE_ARCH_STRSTR
 51 extern char * strstr(const char *,const char *);
 52 #endif
 53 #ifndef __HAVE_ARCH_STRLEN
 54 extern __kernel_size_t strlen(const char *);
 55 #endif
 56 #ifndef __HAVE_ARCH_STRNLEN
 57 extern __kernel_size_t strnlen(const char *,__kernel_size_t);
 58 #endif
 59 
 60 #ifndef __HAVE_ARCH_MEMSET
 61 extern void * memset(void *,int,__kernel_size_t);
 62 #endif
 63 #ifndef __HAVE_ARCH_MEMCPY
 64 extern void * memcpy(void *,const void *,__kernel_size_t);
 65 #endif
 66 #ifndef __HAVE_ARCH_MEMMOVE
 67 extern void * memmove(void *,const void *,__kernel_size_t);
 68 #endif
 69 #ifndef __HAVE_ARCH_MEMSCAN
 70 extern void * memscan(void *,int,__kernel_size_t);
 71 #endif
 72 #ifndef __HAVE_ARCH_MEMCMP
 73 extern int memcmp(const void *,const void *,__kernel_size_t);
 74 #endif
 75 #ifndef __HAVE_ARCH_MEMCHR
 76 extern void * memchr(const void *,int,__kernel_size_t);
 77 #endif
 78 
 79 #ifdef __cplusplus
 80 }
 81 #endif
 82 
 83 #endif /* _LINUX_STRING_H_ */
 84 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.