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