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