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