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