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