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