patch-2.0.11 linux/include/linux/string.h
Next file: linux/include/net/spx.h
Previous file: linux/include/linux/posix_types.h
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
Sun Aug 4 14:38:04 1996
- Orig file:
v2.0.10/linux/include/linux/string.h
- Orig date:
Thu Jul 18 14:54:04 1996
diff -u --recursive --new-file v2.0.10/linux/include/linux/string.h linux/include/linux/string.h
@@ -13,25 +13,25 @@
extern char * ___strtok;
extern char * strcpy(char *,const char *);
-extern char * strncpy(char *,const char *,size_t);
+extern char * strncpy(char *,const char *, __kernel_size_t);
extern char * strcat(char *, const char *);
-extern char * strncat(char *, const char *, size_t);
+extern char * strncat(char *, const char *, __kernel_size_t);
extern char * strchr(const char *,int);
extern char * strrchr(const char *,int);
extern char * strpbrk(const char *,const char *);
extern char * strtok(char *,const char *);
extern char * strstr(const char *,const char *);
-extern size_t strlen(const char *);
-extern size_t strnlen(const char *,size_t);
-extern size_t strspn(const char *,const char *);
+extern __kernel_size_t strlen(const char *);
+extern __kernel_size_t strnlen(const char *,__kernel_size_t);
+extern __kernel_size_t strspn(const char *,const char *);
extern int strcmp(const char *,const char *);
-extern int strncmp(const char *,const char *,size_t);
+extern int strncmp(const char *,const char *,__kernel_size_t);
-extern void * memset(void *,int,size_t);
-extern void * memcpy(void *,const void *,size_t);
-extern void * memmove(void *,const void *,size_t);
-extern void * memscan(void *,int,size_t);
-extern int memcmp(const void *,const void *,size_t);
+extern void * memset(void *,int,__kernel_size_t);
+extern void * memcpy(void *,const void *,__kernel_size_t);
+extern void * memmove(void *,const void *,__kernel_size_t);
+extern void * memscan(void *,int,__kernel_size_t);
+extern int memcmp(const void *,const void *,__kernel_size_t);
/*
* Include machine specific inline routines
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov