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