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