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