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