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