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