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