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