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