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