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