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