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