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