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