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