ReactOS
0.4.16-dev-1106-g00b5dc8
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
_set_abort_behavior.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS C runtime library
3
* LICENSE: BSD - See COPYING.ARM in the top level directory
4
* FILE: lib/sdk/crt/stdlib/_set_abort_behavior.c
5
* PURPOSE: _set_abort_behavior implementation
6
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
7
*/
8
9
extern
unsigned
int
__abort_behavior
;
10
18
unsigned
int
19
_cdecl
20
_set_abort_behavior
(
21
unsigned
int
flags
,
22
unsigned
int
mask
)
23
{
24
unsigned
int
old_flags;
25
26
/* Save the old flags */
27
old_flags =
__abort_behavior
;
28
29
/* Reset all flags that are not in the mask */
30
flags
&=
mask
;
31
32
/* Update the flags in the mask to the new flags value */
33
__abort_behavior
&=
~mask
;
34
__abort_behavior
|=
flags
;
35
36
/* Return the old flags */
37
return
old_flags;
38
}
39
__abort_behavior
unsigned int __abort_behavior
Definition:
abort.c:12
_set_abort_behavior
unsigned int _cdecl _set_abort_behavior(unsigned int flags, unsigned int mask)
Specifies the behavior of the abort() function.
Definition:
_set_abort_behavior.c:20
mask
GLenum GLint GLuint mask
Definition:
glext.h:6028
flags
GLbitfield flags
Definition:
glext.h:7161
sdk
lib
crt
stdlib
_set_abort_behavior.c
Generated on Sun May 11 2025 06:14:20 for ReactOS by
1.9.6