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