about summary refs log tree commit diff
path: root/include/string.h
blob: 6f00a894fac1770ba5e7f1dfb828131a1519077f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef _STRING_H

#include <sys/types.h>

extern void *__memccpy (void *__dest, __const void *__src,
			  int __c, size_t __n);

extern size_t __strnlen (__const char *__string, size_t __maxlen);

extern char *__strsep (char **__stringp, __const char *__delim);

extern int __strverscmp (__const char *__s1, __const char *__s2);

extern int __strncasecmp (__const char *__s1, __const char *__s2,
			  size_t __n);

extern char *__strndup (__const char *__string, size_t __n)
     __attribute_malloc__;

extern void *__rawmemchr (__const void *__s, int __c);

extern char *__strchrnul (__const char *__s, int __c);

extern void *__memrchr (__const void *__s, int __c, size_t __n);

/* Now the real definitions.  We do this here since some of the functions
   above are defined as macros in the headers.  */
#include <string/string.h>
#endif