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