Geant4
10.03.p03
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Functions
gzclose.cc File Reference
#include "
gzguts.h
"
Include dependency graph for gzclose.cc:
Go to the source code of this file.
Functions
int
ZEXPORT
gzclose
(
gzFile
file)
Function Documentation
int
ZEXPORT gzclose
(
gzFile
file
)
Definition at line
11
of file
gzclose.cc
.
12
{
13
#ifndef NO_GZCOMPRESS
14
gz_statep
state;
15
16
if
(file == NULL)
17
return
Z_STREAM_ERROR
;
18
state = (
gz_statep
)file;
19
20
return
state->mode ==
GZ_READ
?
gzclose_r
(file) :
gzclose_w
(file);
21
#else
22
return
gzclose_r
(file);
23
#endif
24
}
GZ_READ
#define GZ_READ
Definition:
gzguts.h:151
Z_STREAM_ERROR
#define Z_STREAM_ERROR
Definition:
zlib.h:177
gzclose_w
int ZEXPORT gzclose_w(gzFile file)
Definition:
gzwrite.cc:523
gz_statep
gz_state FAR * gz_statep
Definition:
gzguts.h:193
gzclose_r
int ZEXPORT gzclose_r(gzFile file)
Definition:
gzread.cc:546
Here is the call graph for this function:
source
geant4.10.03.p03
source
externals
zlib
src
gzclose.cc
Generated on Tue Nov 28 2017 21:44:41 for Geant4 by
1.8.5