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