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