shithub: drawterm

ref: 5fa52aac92946e20c974954f9790c45749ed8d59
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}