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