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