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