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