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