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