You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printf("In handler ,invoked in response to signum : %d\t%s signal\n " ,sigNum ,sys_siglist[sigNum]); /*sys_siglist : array of string which maps signal number to string names*/
9
+
wait(&status);
10
+
}
11
+
12
+
main()
13
+
{
14
+
pid_tpId;
15
+
16
+
signal(SIGCHLD ,signalHandler); /* SIGCHLD is normally sent to a process to notify that one of its child processes ended, so the parent process can collect its exit code.*/
0 commit comments