Question: Using the program in Figure 3.33, identify the values of pid at lines A, B, C, and D. (Assume that the actual pids of the
Using the program in Figure 3.33, identify the values of pid at lines A, B, C, and D. (Assume that the actual pids of the parent and child are 2600 and 2603, respectively.) #include > sys/types.h > #include #include int main() { pid_t pid, pid1: /* fork a child process*/ pid = fork(): pid = fork(): if (pid
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
