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