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