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