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