18,11 → 18,11 |
|
/** |
------------ |
CVS : $Id: exchand.c,v 1.5 2004-04-16 11:18:14 giacomo Exp $ |
CVS : $Id: exchand.c,v 1.6 2004-04-18 20:18:21 giacomo Exp $ |
|
File: $File$ |
Revision: $Revision: 1.5 $ |
Last update: $Date: 2004-04-16 11:18:14 $ |
Revision: $Revision: 1.6 $ |
Last update: $Date: 2004-04-18 20:18:21 $ |
------------ |
**/ |
|
107,6 → 107,18 |
return sigaction(SIGHEXC, &action, NULL); /* set the signal */ |
} |
|
int remove_default_exception_handler(void) |
{ |
struct sigaction action; |
|
action.sa_flags = SA_SIGINFO; |
action.sa_sigaction = NULL; |
action.sa_handler = SIG_IGN; |
sigfillset(&action.sa_mask); |
|
return sigaction(SIGHEXC, &action, NULL); /* set the signal */ |
} |
|
int sys_shutdown_message(char *fmt,...) |
{ |
va_list parms; |