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