Next: tf_exit, Previous: tf_leave, Up: Library Routines [Contents]
Exit a program, dumping the function stack.
#include <tracefct/tracefct.h> void tf_die( const char *format, ... );
const char *formata printf style format string. passed to vsprintf
...additional arguments to be passed to vfprintf
This function prints an error message to stderr as well as
the tracefct output stream (if different from stderr)
and then exits the program with a value of EXIT_FAILURE. The
error message is passed in the same fashion as the arguments to
vprintf or sprintf. The message may contain multiple
output lines (i.e., multiple newline characters). If a trailing
newline character is not specified, it will be appended.
Contrast this with tf_exit.