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