ref: ddf32b64ea557c2f9f3adec475288cbffc9b12fc dir: /libc/src/strlen.c/
/* See LICENSE file for copyright and license details. */ #include <string.h> size_t strlen(const char *s) { size_t n = 0; while (*s++) ++n; return n; }