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