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