Share via


_RTC_NumErrors

Returns the total number of errors that can be detected by run-time error checks (RTC). You can use this number as the control in a for loop, where each value in the loop is passed to _RTC_GetErrDesc.

int _RTC_NumErrors( void );

Return Value

An integer whose value represents the total number of errors that can be detected by the Visual C++ run-time error checks.

Requirements

Routine

Required header

_RTC_NumErrors

<rtcapi.h>

For more information, see Compatibility.

Libraries

All versions of the C run-time libraries.

.NET Framework Equivalent

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

See Also

Tasks

RTC Sample: Run-Time Error Checks

Reference

_RTC_GetErrDesc

Run-Time Error Checking