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