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