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