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