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