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