diff options
Diffstat (limited to 'libc/include/string.h')
-rw-r--r-- | libc/include/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/include/string.h b/libc/include/string.h index e4b4fac..2172bdc 100644 --- a/libc/include/string.h +++ b/libc/include/string.h @@ -25,6 +25,7 @@ int strncasecmp(const char *s1, const char *s2, size_t n); char *strchr(const char *s, int c); char *strrchr(const char *s, int c); size_t strlen(const char *s); +size_t strnlen(const char *s, size_t n); char *strstr(const char *hay, const char *needle); char *strtok(char *src, const char *pattern); char *strdup(const char *src); |