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