shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}