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