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