Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.24 KB

File metadata and controls

24 lines (19 loc) · 1.24 KB
title Robustness
ms.date 11/04/2016
f1_keywords
c.runtime
helpviewer_keywords
robustness [CRT]
ms.assetid 7f1a87f8-eff9-4b76-ae9b-d133d3de6adf

Robustness

Use the following C run-time library functions to improve the robustness of your program.

Run-Time Robustness Functions

Function Use
_set_new_handler Transfers control to your error-handling mechanism if the new operator fails to allocate memory.
_set_se_translator Handles Win32 exceptions (C structured exceptions) as C++ typed exceptions.
set_terminate Installs your own termination function to be called by terminate.
set_unexpected Installs your own termination function to be called by unexpected.

See Also

Universal C runtime routines by category
SetUnhandledExceptionFilter