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