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