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