tadd this. - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit ad6638adc744a21b2c424ab74e2df03b42bef0fc
(DIR) parent e7821682ea0105c74f00986131cf59b07d4966cc
(HTM) Author: rsc <devnull@localhost>
Date: Thu, 23 Sep 2004 21:40:21 +0000
add this.
Diffstat:
A src/libthread/ioproc.h | 14 ++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/src/libthread/ioproc.h b/src/libthread/ioproc.h
t@@ -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;
+};
+