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