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