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