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