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