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