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