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