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