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