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