_get_doserrno

_doserrno is deprecated. Use _get_errno instead.

errno_t _get_doserrno( 
   int * pValue 
);

Параметры

  • [out] pValue
    A pointer to an integer to be filled with the current value of the _doserrno variable.

Возвращаемое значение

Returns zero if successful; an error code on failure. If pValue is NULL, the invalid parameter handler is invoked as described in Parameter Validation. If execution is allowed to continue, this function sets errno to EINVAL and returns EINVAL.

Заметки

Possible values of _doserrno are defined in Errno.h.

Требования

Routine

Required header

Optional header

_get_doserrno

<stdlib.h>

<errno.h>

For more compatibility information, see Compatibility in the Introduction.

См. также

Основные понятия

_set_doserrno

errno, _doserrno, _sys_errlist, and _sys_nerr