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