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