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