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