12 #define NULL ((void*)0)
16 #include <bits/alltypes.h>
18 void *memcpy (void *, const void *, size_t);
19 void *memmove (void *, const void *, size_t);
20 void *memccpy (void *, const void *, int, size_t);
21 void *memset (void *, int, size_t);
22 int memcmp (const void *, const void *, size_t);
23 void *memchr (const void *, int, size_t);
25 char *strcpy (char *, const char *);
26 char *strncpy (char *, const char *, size_t);
28 char *strcat (char *, const char *);
29 char *strncat (char *, const char *, size_t);
31 int strcmp (const char *, const char *);
32 int strncmp (const char *, const char *, size_t);
34 int strcoll (const char *, const char *);
35 size_t strxfrm (char *, const char *, size_t);
37 char *strdup (const char *);
39 char *strchr (const char *, int);
40 char *strrchr (const char *, int);
42 size_t strcspn (const char *, const char *);
43 size_t strspn (const char *, const char *);
44 char *strpbrk (const char *, const char *);
45 char *strstr (const char *, const char *);
47 char *strtok (char *, const char *);
48 char *strtok_r (char *, const char *, char **);
50 size_t strlen (const char *);
53 int strerror_r (int, char *, size_t);
55 size_t strlcat (char *, const char *, size_t);
56 size_t strlcpy (char *, const char *, size_t);
58 char *stpcpy(char *, const char *);
59 char *stpncpy(char *, const char *, size_t);
60 size_t strnlen (const char *, size_t);
63 int strcasecmp (const char *, const char *);
64 int strncasecmp (const char *, const char *, size_t);
65 char *strchrnul(const char *, int);