Returns the termination routine to be called by unexpected.

unexpected_function _get_unexpected( void );

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


Required header



For additional compatibility information, see Compatibility in the Introduction.

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