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