7 lines
77 B
C
7 lines
77 B
C
int
|
|
_dup2(oldfd, newfd)
|
|
{
|
|
_close(newfd);
|
|
return _fcntl(oldfd, 0, newfd);
|
|
}
|