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