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