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