]> git.ipfire.org Git - thirdparty/glibc.git/blob - include/string.h
Update.
[thirdparty/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 __attribute_pure__;
10
11 extern char *__strsep (char **__stringp, __const char *__delim);
12
13 extern int __strverscmp (__const char *__s1, __const char *__s2)
14 __attribute_pure__;
15
16 extern int __strncasecmp (__const char *__s1, __const char *__s2,
17 size_t __n)
18 __attribute_pure__;
19
20 extern char *__strdup (__const char *__string)
21 __attribute_malloc__;
22 extern char *__strndup (__const char *__string, size_t __n)
23 __attribute_malloc__;
24
25 extern void *__rawmemchr (__const void *__s, int __c)
26 __attribute_pure__;
27
28 extern char *__strchrnul (__const char *__s, int __c)
29 __attribute_pure__;
30
31 extern void *__memrchr (__const void *__s, int __c, size_t __n)
32 __attribute_pure__;
33
34 extern void *__memchr (__const void *__s, int __c, size_t __n)
35 __attribute_pure__;
36
37 /* Now the real definitions. We do this here since some of the functions
38 above are defined as macros in the headers. */
39 #include <string/string.h>
40 #endif