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