1998-09-07 07:45:24 +08:00
|
|
|
#ifndef _STRING_H
|
1998-08-10 01:39:48 +08:00
|
|
|
|
1999-11-25 04:48:27 +08:00
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
extern void *__memccpy (void *__dest, __const void *__src,
|
|
|
|
int __c, size_t __n);
|
1998-12-08 21:12:47 +08:00
|
|
|
|
1999-11-25 04:48:27 +08:00
|
|
|
extern size_t __strnlen (__const char *__string, size_t __maxlen);
|
1998-12-08 21:12:47 +08:00
|
|
|
|
1999-11-25 04:48:27 +08:00
|
|
|
extern char *__strsep (char **__stringp, __const char *__delim);
|
1998-12-08 21:12:47 +08:00
|
|
|
|
1999-11-25 04:48:27 +08:00
|
|
|
extern int __strverscmp (__const char *__s1, __const char *__s2);
|
1998-12-08 21:12:47 +08:00
|
|
|
|
1999-11-25 04:48:27 +08:00
|
|
|
extern int __strncasecmp (__const char *__s1, __const char *__s2,
|
|
|
|
size_t __n);
|
1998-12-08 21:12:47 +08:00
|
|
|
|
1999-12-20 03:14:15 +08:00
|
|
|
extern char *__strndup (__const char *__string, size_t __n)
|
|
|
|
__attribute_malloc__;
|
1998-12-08 21:12:47 +08:00
|
|
|
|
1999-11-25 04:48:27 +08:00
|
|
|
extern void *__rawmemchr (__const void *__s, int __c);
|
1999-01-17 01:09:04 +08:00
|
|
|
|
1999-11-25 04:48:27 +08:00
|
|
|
extern char *__strchrnul (__const char *__s, int __c);
|
1999-04-29 05:56:46 +08:00
|
|
|
|
1999-11-25 04:48:27 +08:00
|
|
|
extern void *__memrchr (__const void *__s, int __c, size_t __n);
|
1999-10-04 15:30:05 +08:00
|
|
|
|
1999-11-25 04:48:27 +08:00
|
|
|
/* 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>
|
1998-09-07 07:45:24 +08:00
|
|
|
#endif
|