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