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