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