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