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