ref: 71fbf8ad9e06c29514a12e8840e59d3f50e33b4c
dir: /libc/src/strlen.c/
/* See LICENSE file for copyright and license details. */ #include <string.h> #undef strlen size_t strlen(const char *s) { const char *t; for (t = s; *t; ++t) /* nothing */; return t - s; }