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