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