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