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