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