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