Initially the program must catch those signals with the above-described actions. In addition, your program must keep track of all signals caught, in the order in which they are caught. You may declare the counters and the list as global variables. You may not use any other global variables. Follow the Programming and Documentation Guidelines handout carefully.
Thorough testing is required.
A substantial portion of your grade will be based on your testing. What to turn in. Turn in a copy of your properly documented source file and two script files showing your program running and being thoroughly tested. Use clean to edit out any control characters before you print your script files. The first script file should show your program being run in the background and being tested for all 4 signals by generating signals in the foreground using the kill command.