Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.47 KB

set-doserrno.md

File metadata and controls

49 lines (34 loc) · 1.47 KB
description title ms.date api_name api_location api_type topic_type f1_keywords helpviewer_keywords ms.assetid
Learn more about: _set_doserrno
_set_doserrno
4/2/2020
_set_doserrno
_o__set_doserrno
msvcrt.dll
msvcr80.dll
msvcr90.dll
msvcr100.dll
msvcr100_clr0400.dll
msvcr110.dll
msvcr110_clr0400.dll
msvcr120.dll
msvcr120_clr0400.dll
ucrtbase.dll
api-ms-win-crt-runtime-l1-1-0.dll
DLLExport
apiref
_set_doserrno
set_doserrno
_set_doserrno function
doserrno global variable
set_doserrno function
_doserrno global variable
8686c159-3797-4705-a53e-7457869ca6f3

_set_doserrno

Sets the value of the _doserrno global variable.

Syntax

errno_t _set_doserrno( int error_value );

Parameters

error_value
The new value of _doserrno.

Return value

Returns zero if successful.

Remarks

Possible values are defined in Errno.h.

By default, this function's global state is scoped to the application. To change this behavior, see Global state in the CRT.

Requirements

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

For more compatibility information, see Compatibility.

See also

_get_doserrno
errno, _doserrno, _sys_errlist, and _sys_nerr