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