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