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