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