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