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