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