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