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