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