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