With "signal" you can reset the handler for SIGINT to the system default with
With "sigaction" you can also use SIG_DFL, or you can supply the third argument to sigaction and save the previous handler and settings, to be restored later by another call to sigaction.
man 2 signal
man 2 sigaction
They should give you a lot of info on the subject.
Last edited by sind; 06-28-2005 at 08:23 AM.