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