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