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