Introduction - If you have any usage issues, please Google them yourself
Parent Process is Killed!
Compile a program that enables the process of soft interrupt communication. The termination of the parent process signal control subroutine.
Using the system call fork () to create two sub processes, and then the system call signal () to the parent process interrupt signal capture on the keyboard; when the capture interrupt signal, the parent process with the system call Kill () to send signals to the two sub process, sub process to capture the signal output respectively after the termination of the following information:
Child Proeess 1, is, Killed, by, Parent!
Child Process 2, is, Killed, by, Parent!
When the parent process waits for the two child process to terminate, the following message is terminated after outputting the following information:
Parent Process is Killed!