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