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