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