shithub: drawterm

ref: 229d7bb35315ade6f25d96071adfd6933a50015d
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}