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