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