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