diff options
author | root <root@hestia.halldom.com> | 2010-07-22 00:55:23 +0100 |
---|---|---|
committer | root <root@hestia.halldom.com> | 2010-07-22 00:55:23 +0100 |
commit | 0f1365093f448e9503b618a5097eb8d6433e7710 (patch) | |
tree | 5db698d8d51a441aacd0f5d8ed6e83458bee294c /lib/log.h | |
parent | 378deb2ebf5b34c053f212e14aa0c9d62c4bc85d (diff) | |
download | quagga-0f1365093f448e9503b618a5097eb8d6433e7710.tar.bz2 quagga-0f1365093f448e9503b618a5097eb8d6433e7710.tar.xz |
Trap SIGABRT so that get backtrace in the log.
Improve handling of notification objects, and the printing of same
to the logs.
Diffstat (limited to 'lib/log.h')
-rw-r--r-- | lib/log.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -193,6 +193,9 @@ extern void zlog_signal(int signo, const char *action #endif ); +/* Ring down the curtain -- turn of SIGABRT handler and abort() */ +extern void zabort_abort(void) __attribute__ ((noreturn)) ; + /* Log a backtrace. */ extern void zlog_backtrace(int priority); |