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