ref: 574666e636c1f4a73efd3e8a3b9db96e3206184f dir: /lib/c/strlen.c/
#include <string.h> #undef strlen size_t strlen(const char *s) { const char *t; for (t = s; *t; ++t) ; return t - s; }