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