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