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