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