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