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