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