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