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