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