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