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