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