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