Επεξεργασία

Κοινή χρήση μέσω


Runtime error checking

The C runtime library contains the functions that support runtime error checks (RTC). Runtime error checking allows you to build your program such that certain kinds of runtime 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 runtime checks.

Use the following functions to customize the way your program does runtime error checking.

Runtime error checking functions

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

See also

Universal C runtime routines by category
/RTC (Runtime error checks)
runtime_checks
Debug routines