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