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