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