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