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