Using Ubuntu, write a progam in C that do this:
A: Wait for the process to finish
B. Checks if B finished normally and prints the return value of B. Then reads the information from
the integer file. dat
e
prints the information on the screen.
B: Prints its ID and that of its parent.
It executes the program process.c and returns a status of 3.
The program processB.c writes
1000
integers
any to the
file integers.dat
C: Sleeps for three seconds and then prints its ID and that of its parent.
A B C

Using Ubuntu write a progam in C that do this A Wait for .pdf

  • 1.
    Using Ubuntu, writea progam in C that do this: A: Wait for the process to finish B. Checks if B finished normally and prints the return value of B. Then reads the information from the integer file. dat e prints the information on the screen. B: Prints its ID and that of its parent. It executes the program process.c and returns a status of 3. The program processB.c writes 1000 integers any to the file integers.dat C: Sleeps for three seconds and then prints its ID and that of its parent. A B C