aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/ioproc.h
blob: f3a488d3ce493b2f4177ef1cc794b8c715a279b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#define ioproc_arg(io, type)	(va_arg((io)->arg, type))

struct Ioproc
{
	int tid;
	Channel *c, *creply;
	int inuse;
	long (*op)(va_list*);
	va_list arg;
	long ret;
	char err[ERRMAX];
	Ioproc *next;
};