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