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