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