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