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