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