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