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