Content-type: text/html
Manpage of RTFatal
RTFatal
Section: Chronolytix (3)
Updated: 2005-07-07
Index
Return to Main Contents
NAME
RTFatal - Chronolytix Fatal Error Class
SYNOPSYS
#include <RTFatal.h>
void RTFatal_Register(void (* fatal_callback_handler)());
void RTFatal(const char *errstring);
DESCRIPTION
RTFatal
is the Chronolytix class for asserting a fatal system error. At any time prior to the fatal error,
RTFatal_Register
can be used to register a handler which will be called upon assertion of a fatal system error. This allows canonical handling of file closes, log syncing, etc. that need to be shutdown in an orderly fashion. Callbacks are done in a first-in-last-out order manner.
RTFatal
is used to assert a fatal system error. It may be called from any task.
The fatal error is logged to RTLog as well as unix stderr.
RTFatal is a core Chronolytix function.
MAGIC
none
BUGS
There is no means to un-register a fatal callback.
SEE ALSO
RTLog(Chronolytix),
Index
- NAME
-
- SYNOPSYS
-
- DESCRIPTION
-
- MAGIC
-
- BUGS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 18:28:39 GMT, August 25, 2005