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