Question: Write a program (C Language) that does the following: 1) Ignores any Ctrl-C's the user sends during first 100 seconds of its life. Here ignoring
Write a program (C Language) that does the following:
1) "Ignores" any Ctrl-C's the user sends during first 100 seconds of its life. Here "ignoring" means ignoring the signal (and not simply blocking it).
2) Prints a Hello for each of the first 5 Ctrl-C's the user sends after the first 100 seconds of its life.
3) Blocks any additional Ctrl-C's.
4) Terminates after roughly 200 seconds of life.
5) Does not do any busy wait.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
