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