shithub: drawterm

ref: 3d14bcb38754e98fbe669867f6291d3cc7dc6d15
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}