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