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