shithub: drawterm

ref: 025f31b7eed8c36341a612acb2e488b9aeb4f823
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}