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