mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[CRT]
* _set_errno() returns an errno_t. * error => value CORE-8080 svn path=/trunk/; revision=63263
This commit is contained in:
parent
a30699ae01
commit
19d92fec00
1 changed files with 4 additions and 4 deletions
|
@ -56,18 +56,18 @@ errno_t CDECL _get_doserrno(unsigned long *pValue)
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
* _set_errno (MSVCRT.@)
|
* _set_errno (MSVCRT.@)
|
||||||
*/
|
*/
|
||||||
int CDECL _set_errno(int error)
|
errno_t CDECL _set_errno(int value)
|
||||||
{
|
{
|
||||||
*_errno() = error;
|
*_errno() = value;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
* _set_doserrno (MSVCRT.@)
|
* _set_doserrno (MSVCRT.@)
|
||||||
*/
|
*/
|
||||||
errno_t CDECL _set_doserrno(unsigned long error)
|
errno_t CDECL _set_doserrno(unsigned long value)
|
||||||
{
|
{
|
||||||
*__doserrno() = error;
|
*__doserrno() = value;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue