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