dup2()

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2024 May 19 12:35
Editor
Edited
Edited
2024 May 19 12:37
Refs
Refs
The dup2() function in Unix and Linux operating systems is used for duplicating file descriptors. It takes two arguments: the old file descriptor and the new file descriptor. The function makes the new file descriptor to be a copy of the old one.
  • Pipe standard output from child process to parent process input
 
 
 
 
 
 
 
 

Recommendations