Skip to content

Latest commit

 

History

History
87 lines (78 loc) · 1.9 KB

File metadata and controls

87 lines (78 loc) · 1.9 KB
title _set_doserrno | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-standard-libraries
ms.tgt_pltfrm
ms.topic article
apiname
_set_doserrno
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
C++
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

_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