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