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