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