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