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