#include <string.h>
#include <stdlib.h>
+libc_hidden_proto(abort)
+
/* Find the length of S, but scan at most MAXLEN characters. If no
'\0' terminator is found in that many characters, return MAXLEN. */
size_t strnlen (const char *str, size_t maxlen)
char_ptr = end_ptr;
return char_ptr - str;
}
+libc_hidden_proto(strnlen)
+libc_hidden_def(strnlen)