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