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