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