Add compat strnlen() implementation for non-GLIBC systems

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-06-04 18:51:25 +02:00
1 parent f4fa44fe60
commit 8b499aa9cd
4 files changed
+50 -1

No files matched your search

+4
View File
@@ -296,6 +296,10 @@ some other platforms.
http://man7.org/linux/man-pages/man3/strndupa.3.html
- `strnlen(str, lim)`
http://man7.org/linux/man-pages/man3/strnlen.3.html
OpenBSD/NetBSD/FreeBSD Functions
--------------------------------