ref: 73aec03ce3cfe7498d2dcf50bc740e4379a8611e dir: /lib/c/src/strlen.c/
#include <string.h> #undef strlen size_t strlen(const char *s) { const char *t; for (t = s; *t; ++t) /* nothing */; return t - s; }