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