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