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