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