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