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