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