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