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