ref: 56be76ade10c9b8c46b9b53892560549a91170f3 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; }