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