mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-15 11:20:03 +00:00
15 lines
202 B
C
15 lines
202 B
C
|
#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;
|
||
|
};
|
||
|
|