previous | start | next

Changing the Signal Handler Function

The default signal handler for other signals can be replaced by the user by calling the signal function with a new handler:

       sighandler_t signal(int signum, sighandler_t handler)      
   

where the type, sighandler_t, must be a function with void return and a single integer argument to receive the signal number.



previous | start | next