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