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