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