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