| title |
_set_doserrno | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
article |
| apiname |
|
| apilocation |
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 |
|
| apitype |
DLLExport |
| f1_keywords |
_set_doserrno |
set_doserrno |
|
| dev_langs |
|
| helpviewer_keywords |
_set_doserrno function |
doserrno global variable |
set_doserrno function |
_doserrno global variable |
|
| ms.assetid |
8686c159-3797-4705-a53e-7457869ca6f3 |
| caps.latest.revision |
12 |
| author |
corob-msft |
| ms.author |
corob |
| manager |
ghogen |
| translation.priority.ht |
cs-cz |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
pl-pl |
pt-br |
ru-ru |
tr-tr |
zh-cn |
zh-tw |
|
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.
Remarks
Possible values are defined in Errno.h.
| Routine |
Required header |
Optional header |
_set_doserrno |
<stdlib.h> |
<errno.h> |
For more compatibility information, see Compatibility in the Introduction.
_get_doserrno
errno, _doserrno, _sys_errlist, and _sys_nerr