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