ack/mach/vax4/libsysV_2/_dup2.c

7 lines
77 B
C
Raw Permalink Normal View History

1990-01-19 16:22:03 +00:00
int
_dup2(oldfd, newfd)
{
_close(newfd);
return _fcntl(oldfd, 0, newfd);
}