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