title | ms.custom | ms.date | ms.reviewer | ms.suite | ms.technology | ms.tgt_pltfrm | ms.topic | f1_keywords | dev_langs | helpviewer_keywords | ms.assetid | caps.latest.revision | author | ms.author | manager | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Robustness | Microsoft Docs |
11/04/2016 |
|
article |
|
|
|
7f1a87f8-eff9-4b76-ae9b-d133d3de6adf |
13 |
corob-msft |
corob |
ghogen |
Use the following C run-time library functions to improve the robustness of your program.
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. |