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