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