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