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