Question: Write a short C program that creates two children. Each child executes a function void DoChild(int writeFd, int readFd) and then exits immediately (you are
Write a short C program that creates two children. Each child executes a function void DoChild(int writeFd, int readFd) and then exits immediately (you are not to write DoChild(), just assume it exists). The program is to create a pair of pipes, whose file descriptors are passed to the children for two-way communication between the children. The parent does not exit until both children have terminated
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
