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