Redigera

Dela via


_get_unexpected

Returns the termination routine to be called by unexpected.

Syntax

unexpected_function _get_unexpected( void );

Return value

Returns a pointer to the function registered by set_unexpected. 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_unexpected <eh.h>

For more compatibility information, see Compatibility.

See also

Exception handling routines
abort
set_terminate
terminate
unexpected