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