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