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