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