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