aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/ioproc.h
blob: 831beade97ee3ac9e33e20e8c842b059840de14c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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;
};