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