Nguyễn Đôn Hào
New member
What is dup2 used for?
Answer
The dup2() system function is used to create a copy of an existing file descriptor.
Answer
The dup2() system function is used to create a copy of an existing file descriptor.