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