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