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