ReactOS
0.4.16-dev-570-g1868985
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
Functions
atexit.c File Reference
#include <precomp.h>
Include dependency graph for atexit.c:
Go to the source code of this file.
Functions
_onexit_t
CDECL
__dllonexit
(
_onexit_t
func
,
_onexit_t
**
start
,
_onexit_t
**
end
)
Function Documentation
◆
__dllonexit()
_onexit_t
CDECL
__dllonexit
(
_onexit_t
func
,
_onexit_t
**
start
,
_onexit_t
**
end
)
Definition at line
7
of file
atexit.c
.
8
{
9
_onexit_t
*tmp;
10
size_t
len
;
11
12
TRACE
(
"(%p,%p,%p)\n"
,
func
,
start
,
end
);
13
14
if
(!
start
|| !*
start
|| !
end
|| !*
end
)
15
{
16
FIXME
(
"bad table\n"
);
17
return
NULL
;
18
}
19
20
len
= (*
end
- *
start
);
21
22
TRACE
(
"table start %p-%p, %d entries\n"
, *
start
, *
end
,
len
);
23
24
if
(++
len
<= 0)
25
return
NULL
;
26
27
tmp =
realloc
(*
start
,
len
*
sizeof
(
_onexit_t
));
28
if
(!tmp)
29
return
NULL
;
30
*
start
= tmp;
31
*
end
= tmp +
len
;
32
tmp[
len
- 1] =
func
;
33
TRACE
(
"new table start %p-%p, %d entries\n"
, *
start
, *
end
,
len
);
34
return
func
;
35
}
FIXME
#define FIXME(fmt,...)
Definition:
precomp.h:53
realloc
#define realloc
Definition:
debug_ros.c:6
NULL
#define NULL
Definition:
types.h:112
start
GLuint start
Definition:
gl.h:1545
end
GLuint GLuint end
Definition:
gl.h:1545
func
GLenum func
Definition:
glext.h:6028
len
GLenum GLsizei len
Definition:
glext.h:6722
_onexit_t
int(__cdecl * _onexit_t)(void)
Definition:
stdlib.h:28
TRACE
#define TRACE(s)
Definition:
solgame.cpp:4
sdk
lib
crt
stdlib
atexit.c
Generated on Wed Jan 22 2025 06:23:48 for ReactOS by
1.9.6