7 void *memcpy (void *, const void *, size_t);
8 void *memmove (void *, const void *, size_t);
9 char *strncat (char *, const char *, size_t);
10 int memcmp (const void *, const void *, size_t);
11 int strcmp (const char *, const char *);
12 void *memchr (const void *, int, size_t);
13 char *strchr (const char *, int);
14 size_t strcspn (const char *, const char *);
15 char *strpbrk (const char *, const char *);
16 char *strrchr (const char *, int);
17 size_t strspn (const char *, const char *);
18 char *strstr (const char *, const char *);
19 void *memset (void *, int, size_t);
20 size_t strlen (const char *);
23 size_t strlcpy (char *, const char *, size_t);
24 size_t strlcat (char *, const char *, size_t);
25 char *strtok_r (char *, const char *, char **);
26 size_t strnlen (const char *, size_t);
28 /* Try to be helpful. */
29 #define strcpy dont_use_strcpy_use_strlcpy
30 #define strncpy dont_use_strncpy_use_strlcpy
31 #define strcat dont_use_strcat_use_strlcat
32 #define strncat dont_use_strncat_use_strlcat
33 #define strtok dont_use_strtok_use_strtok_r
35 #endif /* lib/string.h */