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