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