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