Example #1
0
File: main.c Project: npe9/harvey
int
sendinput(Window *w, uint32_t q0, uint32_t *q1)
{
	uint32_t n;
	Req *oq;

	n = 0;
	do {
		oq = q;
		n += _sendinput(w, q0+n, q1);
	} while(q != oq);
	return n;
}
Example #2
0
int
sendinput(Window *w, ulong q0, ulong *q1)
{
	ulong n;
	Req *oq;

	n = 0;
	do {
		oq = q;
		n += _sendinput(w, q0+n, q1);
	} while(q != oq);
	return n;
}