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