For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Sets the value of the _doserrno global variable.

errno_t _set_doserrno(   
   int value   


[in] value
The new value of _doserrno.

Returns zero if successful.

Possible values are defined in Errno.h.

RoutineRequired headerOptional header

For more compatibility information, see Compatibility in the Introduction.

errno, _doserrno, _sys_errlist, and _sys_nerr