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