Rev 5270 | Rev 6934 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5270 | Rev 6082 | ||
---|---|---|---|
Line 23... | Line 23... | ||
23 | extern char * strncpy(char *,const char *, __kernel_size_t); |
23 | extern char * strncpy(char *,const char *, __kernel_size_t); |
24 | #endif |
24 | #endif |
25 | #ifndef __HAVE_ARCH_STRLCPY |
25 | #ifndef __HAVE_ARCH_STRLCPY |
26 | size_t strlcpy(char *, const char *, size_t); |
26 | size_t strlcpy(char *, const char *, size_t); |
27 | #endif |
27 | #endif |
- | 28 | #ifndef __HAVE_ARCH_STRSCPY |
|
- | 29 | ssize_t __must_check strscpy(char *, const char *, size_t); |
|
- | 30 | #endif |
|
28 | #ifndef __HAVE_ARCH_STRCAT |
31 | #ifndef __HAVE_ARCH_STRCAT |
29 | extern char * strcat(char *, const char *); |
32 | extern char * strcat(char *, const char *); |
30 | #endif |
33 | #endif |
31 | #ifndef __HAVE_ARCH_STRNCAT |
34 | #ifndef __HAVE_ARCH_STRNCAT |
32 | extern char * strncat(char *, const char *, __kernel_size_t); |
35 | extern char * strncat(char *, const char *, __kernel_size_t); |
Line 38... | Line 41... | ||
38 | extern int strcmp(const char *,const char *); |
41 | extern int strcmp(const char *,const char *); |
39 | #endif |
42 | #endif |
40 | #ifndef __HAVE_ARCH_STRNCMP |
43 | #ifndef __HAVE_ARCH_STRNCMP |
41 | extern int strncmp(const char *,const char *,__kernel_size_t); |
44 | extern int strncmp(const char *,const char *,__kernel_size_t); |
42 | #endif |
45 | #endif |
43 | #ifndef __HAVE_ARCH_STRNICMP |
- | |
44 | #define strnicmp strncasecmp |
- | |
45 | #endif |
- | |
46 | #ifndef __HAVE_ARCH_STRCASECMP |
46 | #ifndef __HAVE_ARCH_STRCASECMP |
47 | extern int strcasecmp(const char *s1, const char *s2); |
47 | extern int strcasecmp(const char *s1, const char *s2); |
48 | #endif |
48 | #endif |
49 | #ifndef __HAVE_ARCH_STRNCASECMP |
49 | #ifndef __HAVE_ARCH_STRNCASECMP |
50 | extern int strncasecmp(const char *s1, const char *s2, size_t n); |
50 | extern int strncasecmp(const char *s1, const char *s2, size_t n); |
Line 112... | Line 112... | ||
112 | #endif |
112 | #endif |
113 | #ifndef __HAVE_ARCH_MEMCHR |
113 | #ifndef __HAVE_ARCH_MEMCHR |
114 | extern void * memchr(const void *,int,__kernel_size_t); |
114 | extern void * memchr(const void *,int,__kernel_size_t); |
115 | #endif |
115 | #endif |
116 | void *memchr_inv(const void *s, int c, size_t n); |
116 | void *memchr_inv(const void *s, int c, size_t n); |
- | 117 | char *strreplace(char *s, char old, char new); |
|
- | 118 | ||
- | 119 | extern void kfree_const(const void *x); |
|
Line 117... | Line 120... | ||
117 | 120 | ||
- | 121 | extern char *kstrdup(const char *s, gfp_t gfp); |
|
118 | extern char *kstrdup(const char *s, gfp_t gfp); |
122 | extern const char *kstrdup_const(const char *s, gfp_t gfp); |
119 | extern char *kstrndup(const char *s, size_t len, gfp_t gfp); |
123 | extern char *kstrndup(const char *s, size_t len, gfp_t gfp); |
Line 120... | Line 124... | ||
120 | extern void *kmemdup(const void *src, size_t len, gfp_t gfp); |
124 | extern void *kmemdup(const void *src, size_t len, gfp_t gfp); |
121 | 125 |