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