Skip to content

Latest commit

 

History

History
51 lines (48 loc) · 1.67 KB

File metadata and controls

51 lines (48 loc) · 1.67 KB
title Robustness | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-standard-libraries
ms.tgt_pltfrm
ms.topic article
f1_keywords
c.runtime
dev_langs
C++
helpviewer_keywords
robustness [CRT]
ms.assetid 7f1a87f8-eff9-4b76-ae9b-d133d3de6adf
caps.latest.revision 13
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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

Run-Time Routines by Category
SetUnhandledExceptionFilter