ack/mach/vax4/libsysV_2/dup2.c

7 lines
74 B
C
Raw Permalink Normal View History

1987-02-02 16:06:51 +00:00
int
dup2(oldfd, newfd)
{
close(newfd);
return fcntl(oldfd, 0, newfd);
}