1 2 3 4 5 6 7 8 9
#include <u.h> #include <libc.h> long runestrlen(Rune *s) { return runestrchr(s, 0) - s; }