summaryrefslogtreecommitdiff
path: root/sys/include/ape/string.h
diff options
context:
space:
mode:
authorspew <devnull@localhost>2018-06-21 11:56:37 -0400
committerspew <devnull@localhost>2018-06-21 11:56:37 -0400
commit55c122d59f504ae48f834b3299484ef4f56283d6 (patch)
tree4171a2644362bd9631aebc8edb5dc66b4da3c50d /sys/include/ape/string.h
parent3b376b43af24f8013d330eb2eb9c3b78849bb7c3 (diff)
ape: add strnlen
Diffstat (limited to 'sys/include/ape/string.h')
-rw-r--r--sys/include/ape/string.h1
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);