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