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