Rev 1408 | Rev 1970 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1408 | Rev 1964 | ||
---|---|---|---|
Line 60... | Line 60... | ||
60 | extern char * strnchr(const char *, size_t, int); |
60 | extern char * strnchr(const char *, size_t, int); |
61 | #endif |
61 | #endif |
62 | #ifndef __HAVE_ARCH_STRRCHR |
62 | #ifndef __HAVE_ARCH_STRRCHR |
63 | extern char * strrchr(const char *,int); |
63 | extern char * strrchr(const char *,int); |
64 | #endif |
64 | #endif |
65 | extern char * __must_check strstrip(char *); |
65 | extern char * __must_check skip_spaces(const char *); |
- | 66 | ||
- | 67 | extern char *strim(char *); |
|
- | 68 | ||
- | 69 | static inline __must_check char *strstrip(char *str) |
|
- | 70 | { |
|
- | 71 | return strim(str); |
|
- | 72 | } |
|
- | 73 | ||
66 | #ifndef __HAVE_ARCH_STRSTR |
74 | #ifndef __HAVE_ARCH_STRSTR |
67 | extern char * strstr(const char *,const char *); |
75 | extern char * strstr(const char *, const char *); |
68 | #endif |
76 | #endif |
- | 77 | #ifndef __HAVE_ARCH_STRNSTR |
|
- | 78 | extern char * strnstr(const char *, const char *, size_t); |
|
- | 79 | #endif |
|
69 | #ifndef __HAVE_ARCH_STRLEN |
80 | #ifndef __HAVE_ARCH_STRLEN |
70 | extern __kernel_size_t strlen(const char *); |
81 | extern __kernel_size_t strlen(const char *); |
71 | #endif |
82 | #endif |
72 | #ifndef __HAVE_ARCH_STRNLEN |
83 | #ifndef __HAVE_ARCH_STRNLEN |
73 | extern __kernel_size_t strnlen(const char *,__kernel_size_t); |
84 | extern __kernel_size_t strnlen(const char *,__kernel_size_t); |