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