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