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