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