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