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