ref: c89ff5601ede9a73fb328ae0aa8bfdfa8cfe7965 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; }