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