ref: 37e4ca9b85b68ca0441c18c2f4fbf24c866e38cb 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; }