This code has been imported and slightly adapted from FreeBSD: 6253393ad8/lib/libc/string/strnlen.c Change-Id: Ie5ef5f92e6e904adb88f8628077fdf1d27470eb3 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
6253393ad8/lib/libc/string/strnlen.c