Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.52 KB

get-terminate.md

File metadata and controls

45 lines (33 loc) · 1.52 KB
description title ms.date api_name api_location api_type topic_type f1_keywords helpviewer_keywords ms.assetid
Learn more about: _get_terminate
_get_terminate
4/2/2020
_get_terminate
_o__get_terminate
msvcrt.dll
msvcr80.dll
msvcr90.dll
msvcr100.dll
msvcr100_clr0400.dll
msvcr110.dll
msvcr110_clr0400.dll
msvcr120.dll
msvcr120_clr0400.dll
ucrtbase.dll
api-ms-win-crt-runtime-l1-1-0.dll
DLLExport
apiref
get_terminate
_get_terminate
__get_terminate
__get_terminate function
get_terminate function
_get_terminate function
c8f168c4-0ad5-4832-a522-dd1ef383c208

_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