#include "worgen.h"
int c_reset_handler ( int signo, /* I: signal to reset */ struct sigaction *signal_act /* I: specifies the action previously associated with signal so it can be restored */ )
Integer value of the signal to be reset.
Sigaction structure that specifies the previous state of the signal so that it can be reset to that state.
The c_reset_handler() routine is used to reset the specified signal to its previous state. E_SUCC is returned if signal handler was successfully reset. E_FAIL is returned if an error occurred resetting the signal handler.
c_reset_handler() returns
E_SUCC (0) --> successful completion E_FAIL (-1) --> operation failed