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