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