ReactOS
0.4.16-dev-1-gcf26321
Functions
gzclose.c File Reference
#include "
gzguts.h
"
Include dependency graph for gzclose.c:
Go to the source code of this file.
Functions
int
ZEXPORT
gzclose
(
gzFile
file
)
Function Documentation
◆
gzclose()
int
ZEXPORT
gzclose
(
gzFile
file
)
Definition at line
11
of file
gzclose.c
.
13
{
14
#ifndef NO_GZCOMPRESS
15
gz_statep
state
;
16
17
if
(
file
==
NULL
)
18
return
Z_STREAM_ERROR
;
19
state
= (
gz_statep
)
file
;
20
21
return
state
->mode ==
GZ_READ
?
gzclose_r
(
file
) :
gzclose_w
(
file
);
22
#else
23
return
gzclose_r
(
file
);
24
#endif
25
}
state
static int state
Definition:
maze.c:121
NULL
#define NULL
Definition:
types.h:112
Z_STREAM_ERROR
#define Z_STREAM_ERROR
Definition:
zlib.h:118
gz_statep
gz_state FAR * gz_statep
Definition:
gzguts.h:203
GZ_READ
#define GZ_READ
Definition:
gzguts.h:160
gzclose_r
int ZEXPORT gzclose_r(gzFile file)
Definition:
gzread.c:623
gzclose_w
int ZEXPORT gzclose_w(gzFile file)
Definition:
gzwrite.c:639
file
Definition:
fci.c:127
sdk
lib
3rdparty
zlib
gzclose.c
Generated on Wed Sep 11 2024 06:22:35 for ReactOS by
1.9.6