_get_terminate
Returns the termination routine to be called by terminate
.
Syntax
terminate_function _get_terminate( void );
Return value
Returns a pointer to the function registered by set_terminate
. If no function has been set, the return value may be used to restore the default behavior; this value may be NULL
.
Remarks
By default, this function's global state is scoped to the application. To change this behavior, see Global state in the CRT.
Requirements
Routine | Required header |
---|---|
_get_terminate |
<eh.h> |
For more compatibility information, see Compatibility.
See also
Exception handling routines
abort
set_unexpected
terminate
unexpected
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for