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