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