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