aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-09-23 21:40:21 +0000
committerrsc <devnull@localhost>2004-09-23 21:40:21 +0000
commitad6638adc744a21b2c424ab74e2df03b42bef0fc (patch)
treec00948b6d18b0e97c6158a6c8653443b89d07223
parente7821682ea0105c74f00986131cf59b07d4966cc (diff)
downloadplan9port-ad6638adc744a21b2c424ab74e2df03b42bef0fc.tar.gz
plan9port-ad6638adc744a21b2c424ab74e2df03b42bef0fc.tar.bz2
plan9port-ad6638adc744a21b2c424ab74e2df03b42bef0fc.zip
add this.
-rw-r--r--src/libthread/ioproc.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libthread/ioproc.h b/src/libthread/ioproc.h
new file mode 100644
index 00000000..f3a488d3
--- /dev/null
+++ b/src/libthread/ioproc.h
@@ -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;
+};
+