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