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