ref: aabcebb3c653de145bdcaae115b2df1ef68382c6 dir: /lib/c/strlen.c/
#include <string.h> #undef strlen size_t strlen(const char *s) { const char *t; for (t = s; *t; ++t) ; return t - s; }