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