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