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