_set_doserrno

 

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 _set_doserrno.

Sets the value of the _doserrno global variable.

Syntax

errno_t _set_doserrno(   
   int value   
);  

Parameters

[in] value
The new value of _doserrno.

Return Value

Returns zero if successful.

Remarks

Possible values are defined in Errno.h.

Requirements

Routine Required header Optional header
_set_doserrno <stdlib.h> <errno.h>

For more compatibility information, see Compatibility in the Introduction.

See Also

_get_doserrno
errno, _doserrno, _sys_errlist, and _sys_nerr