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