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