Program1:
1.Fork a child program.
2.Set itself to ignore SIGINT.
3.If it recieves both SIGUSR1 and SIGUSR2, it should then revert to the default behaviour
when receiving a SIGINT.
4. If it recieves SIGALRM, reset itself to ignore SIGINT.
The child should:
1.Sleep for 60 seconds.
2.Send SIGALRM to the parent process.
3.Exit.
Execute your program. In a separate window, use the shell and the
ps -ax
command to find the pid of your program. The use the shell send signals to your program to test its behaviour. Eg,
kill -USR1 pid of your program
I am new to linux programming......can anybody help me with this linux program??
its urgent