mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
add this.
This commit is contained in:
parent
e7821682ea
commit
ad6638adc7
1 changed files with 14 additions and 0 deletions
14
src/libthread/ioproc.h
Normal file
14
src/libthread/ioproc.h
Normal file
|
@ -0,0 +1,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;
|
||||
};
|
||||
|
Loading…
Reference in a new issue