ref: 4895b182d57d6900cf73c95855b9443daa227ad5
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; }