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