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