Skip to content

Latest commit

 

History

History
38 lines (34 loc) · 1.95 KB

File metadata and controls

38 lines (34 loc) · 1.95 KB
title Run-Time Error Checking | 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
run-time error checking
run-time errors, checking
ms.assetid c965dd01-57ad-4a3c-b1d6-5aa04f920501
caps.latest.revision 7
author corob-msft
ms.author corob
manager ghogen
ms.workload
cplusplus

Run-Time Error Checking

The C run-time library contains the functions that support run-time error checks (RTC). Run-time error checking allows you to build your program such that certain kinds of run-time errors are reported. You specify how the errors are reported and which kinds of errors are reported. For more information, see How to: Use Native Run-Time Checks.

Use the following functions to customize the way your program does run-time error checking.

Run-Time Error Checking Functions

Function Use
_RTC_GetErrDesc Returns a brief description of a run-time error check type.
_RTC_NumErrors Returns the total number of errors that can be detected by run-time error checks.
_RTC_SetErrorFunc Designates a function as the handler for reporting run-time error checks.
_RTC_SetErrorType Associates an error that is detected by run-time error checks with a type.

See Also

Run-Time Routines by Category
/RTC (Run-Time Error Checks)
runtime_checks
Debug Routines