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