set_terminate

terminate_handler set_terminate(terminate_handler ph) throw();

The function establishes a new terminate handler as the function *ph. Thus, ph must not be a null pointer. The function returns the address of the previous terminate handler.