cpp/error/set terminate

Makes the new global terminate handler function and returns the previously installed std. shall terminate execution of the program without returning to its caller, otherwise the behavior is undefined.

Return value
The previously-installed terminate handler, or a null pointer value if none was installed.