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