ref: 1213937bfa73b0303bd50faafcc99bf759716b4e 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; }