shithub: drawterm

ref: fc0d38552e53914b7f638be23cb09eda488ce25e
dir: /libc/runestrlen.c/

View raw version
#include <u.h>
#include <libc.h>

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}