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