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