Using the signal() function

The C signal() function call alters the actions that the global error table specifies will be taken for a given condition. You can use signal() to do the following: