plan9port/src/libthread/ioclose.c
2003-09-30 17:47:42 +00:00

16 lines
189 B
C

#include "threadimpl.h"
static long
_ioclose(va_list *arg)
{
int fd;
fd = va_arg(*arg, int);
return close(fd);
}
int
ioclose(Ioproc *io, int fd)
{
return iocall(io, _ioclose, fd);
}