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