Description: Write an application under linux, named an_ch2 1b. The program continuously outputs the following lines:
Those output come from child, [system time]
Write another application named an_ch2_1a. This program creates a subprocess to execute an_ch2_1b. The program continuously outputs the following lines:
Those output come from child, [system time]
Observe the results of the program and explain the phenomena you see.
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
an_ch2_1a.cpp | 258 | 2019-04-06
|
an_ch2_1b.cpp | 447 | 2019-04-06
|
Consoleapp.c | 472 | 2019-04-06 |