Update.
[platform/upstream/glibc.git] / include / string.h
1 #ifndef _STRING_H
2
3 #include <sys/types.h>
4
5 extern void *__memccpy (void *__dest, __const void *__src,
6                           int __c, size_t __n);
7
8 extern size_t __strnlen (__const char *__string, size_t __maxlen);
9
10 extern char *__strsep (char **__stringp, __const char *__delim);
11
12 extern int __strverscmp (__const char *__s1, __const char *__s2);
13
14 extern int __strncasecmp (__const char *__s1, __const char *__s2,
15                           size_t __n);
16
17 extern char *__strndup (__const char *__string, size_t __n);
18
19 extern void *__rawmemchr (__const void *__s, int __c);
20
21 extern char *__strchrnul (__const char *__s, int __c);
22
23 extern void *__memrchr (__const void *__s, int __c, size_t __n);
24
25 /* Now the real definitions.  We do this here since some of the functions
26    above are defined as macros in the headers.  */
27 #include <string/string.h>
28 #endif