summaryrefslogtreecommitdiffstats
path: root/src/libthread/ioread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/ioread.c')
-rw-r--r--src/libthread/ioread.c20
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);
-}