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