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