Question: Why is the dup2() system call used before using exec() to load a program into a forked process?
Why is the dup2() system call used before using exec() to load a program into a forked process?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
