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