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