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