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