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