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