diff options
author | rsc <devnull@localhost> | 2004-12-25 21:56:33 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-12-25 21:56:33 +0000 |
commit | 1544f90960275dc9211bde30329c3258e0e1bf38 (patch) | |
tree | f55e7a73c03aaa24daa7cc2ad02822b921c477f9 /src/libthread/ioread.c | |
parent | 7788fd54094693384ef5c92c475656dba8819feb (diff) | |
download | plan9port-1544f90960275dc9211bde30329c3258e0e1bf38.tar.gz plan9port-1544f90960275dc9211bde30329c3258e0e1bf38.tar.bz2 plan9port-1544f90960275dc9211bde30329c3258e0e1bf38.zip |
New thread library
Diffstat (limited to 'src/libthread/ioread.c')
-rw-r--r-- | src/libthread/ioread.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/libthread/ioread.c b/src/libthread/ioread.c deleted file mode 100644 index 62b1be03..00000000 --- a/src/libthread/ioread.c +++ /dev/null @@ -1,20 +0,0 @@ -#include "threadimpl.h" - -static long -_ioread(va_list *arg) -{ - int fd; - void *a; - long n; - - fd = va_arg(*arg, int); - a = va_arg(*arg, void*); - n = va_arg(*arg, long); - return read(fd, a, n); -} - -long -ioread(Ioproc *io, int fd, void *a, long n) -{ - return iocall(io, _ioread, fd, a, n); -} |