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