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