ReactOS
0.4.16-dev-1946-g52006dd
seterrm.cpp
Go to the documentation of this file.
1
/***
2
*seterrm.c - Set mode for handling critical errors
3
*
4
* Copyright (c) Microsoft Corporation. All rights reserved.
5
*
6
*Purpose:
7
* Defines signal() and raise().
8
*
9
*******************************************************************************/
10
11
#include <
corecrt_internal.h
>
12
#include <stdlib.h>
13
14
/***
15
*void _seterrormode(mode) - set the critical error mode
16
*
17
*Purpose:
18
*
19
*Entry:
20
* int mode - error mode:
21
*
22
* 0 means system displays a prompt asking user how to
23
* respond to the error. Choices differ depending on the
24
* error but may include Abort, Retry, Ignore, and Fail.
25
*
26
* 1 means the call system call causing the error will fail
27
* and return an error indicating the cause.
28
*
29
*Exit:
30
* none
31
*
32
*Exceptions:
33
*
34
*******************************************************************************/
35
36
extern
"C"
void
__cdecl
_seterrormode
(
int
const
mode
)
37
{
38
SetErrorMode
(
mode
);
39
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
corecrt_internal.h
SetErrorMode
UINT WINAPI SetErrorMode(IN UINT uMode)
Definition:
except.c:751
mode
GLenum mode
Definition:
glext.h:6217
_seterrormode
void __cdecl _seterrormode(int const mode)
Definition:
seterrm.cpp:36
sdk
lib
ucrt
misc
seterrm.cpp
Generated on Thu Dec 4 2025 06:16:21 for ReactOS by
1.9.6