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