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