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