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