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