Name

set_terminate function — Changes the terminate( ) handler

Synopsis

typedef void (*terminate_handler)(  );
terminate_handler set_terminate(terminate_handler f) throw(  );

The set_terminate function saves f to be used by calls to terminate. The previous value of the terminate handler is returned.