Add strnlen() to local C library
This code has been imported and slightly adapted from FreeBSD:
https://github.com/freebsd/freebsd/blob/6253393ad8df55730481bf2aafd76bdd6182e2f5/lib/libc/string/strnlen.c

Change-Id: Ie5ef5f92e6e904adb88f8628077fdf1d27470eb3
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
1 parent f38d93f commit d67879d311c63fde5a7b1ba4d40c710f86da1153
@Sandrine Bailleux Sandrine Bailleux authored on 24 Jan 2017
Showing 3 changed files
View
include/lib/stdlib/string.h
View
lib/stdlib/stdlib.mk
View
lib/stdlib/strnlen.c 0 → 100644