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/ioopen.c | |
| parent | 7788fd54094693384ef5c92c475656dba8819feb (diff) | |
| download | plan9port-1544f90960275dc9211bde30329c3258e0e1bf38.tar.gz plan9port-1544f90960275dc9211bde30329c3258e0e1bf38.zip | |
New thread library
Diffstat (limited to 'src/libthread/ioopen.c')
| -rw-r--r-- | src/libthread/ioopen.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/libthread/ioopen.c b/src/libthread/ioopen.c deleted file mode 100644 index 219e581e..00000000 --- a/src/libthread/ioopen.c +++ /dev/null @@ -1,21 +0,0 @@ -#include <u.h> -#include <unistd.h> -#include <fcntl.h> -#include "threadimpl.h" - -static long -_ioopen(va_list *arg) -{ - char *path; - int mode; - - path = va_arg(*arg, char*); - mode = va_arg(*arg, int); - return open(path, mode); -} - -int -ioopen(Ioproc *io, char *path, int mode) -{ - return iocall(io, _ioopen, path, mode); -} |
