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