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