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