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