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