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