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