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