We recommend using Visual Studio 2017



The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at _RTC_GetErrDesc.

Returns a brief description of a run-time error check (RTC) type.

      const char * _RTC_GetErrDesc(  
   _RTC_ErrorNumber errnum   


A number between zero and one less than the value returned by _RTC_NumErrors.

A character string that contains a short description of one of the error types detected by the run-time error check system. If error is less than zero or greater than or equal to the value returned by _RTC_NumErrors, _RTC_GetErrDesc returns NULL.

RoutineRequired header

For more information, see Compatibility.

All versions of the C run-time libraries.

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

Run-Time Error Checking