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