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