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