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