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