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