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