What is dup2 used for?

What is dup2 used for?
Answer
The dup2() system function is used to create a copy of an existing file descriptor.
 

Tìm kiếm

Back
Top