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