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