diff options
author | spew <devnull@localhost> | 2018-06-21 11:56:37 -0400 |
---|---|---|
committer | spew <devnull@localhost> | 2018-06-21 11:56:37 -0400 |
commit | 55c122d59f504ae48f834b3299484ef4f56283d6 (patch) | |
tree | 4171a2644362bd9631aebc8edb5dc66b4da3c50d /sys/include/ape/string.h | |
parent | 3b376b43af24f8013d330eb2eb9c3b78849bb7c3 (diff) |
ape: add strnlen
Diffstat (limited to 'sys/include/ape/string.h')
-rw-r--r-- | sys/include/ape/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/ape/string.h b/sys/include/ape/string.h index 52813b15d..50dfad93c 100644 --- a/sys/include/ape/string.h +++ b/sys/include/ape/string.h @@ -32,6 +32,7 @@ extern char *strtok(char *, const char *); extern void *memset(void *, int, size_t); extern char *strerror(int); extern size_t strlen(const char *); +extern size_t strnlen(const char *, size_t); #ifdef _REENTRANT_SOURCE extern char *strerror_r(int, const char *, int); |