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