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