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