ref: 21001d4294c0496a2fc8c23eead89df44bd85825 dir: /sys/src/libc/port/strlen.c/
#include <u.h> #include <libc.h> long strlen(char *s) { return strchr(s, 0) - s; }