Partager via


_RTC_GetErrDesc

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

const char * _RTC_GetErrDesc( 
   _RTC_ErrorNumber errnum  
);

Parameters

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

Return Value

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.

Requirements

Routine

Required header

_RTC_GetErrDesc

<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

Reference

_RTC_NumErrors

Run-Time Error Checking

Other Resources

RTC sample