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