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