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