共用方式為


_get_terminate

Returns the termination routine to be called by terminate.

terminate_function _get_terminate( void );

Return Value

Returns a pointer to the function registered by set_terminate (CRT). If no function has been set, the return value may be used to restore the default behavior; this value may be NULL.

Requirements

Routine

Required header

_get_terminate

<eh.h>

For additional compatibility information, see Compatibility in the Introduction.

.NET Framework Equivalent

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

See Also

Reference

Exception Handling Routines

abort

set_unexpected (CRT)

terminate (CRT)

unexpected (CRT)