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