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