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