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