aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-10-02 12:13:50 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-10-02 12:13:50 -0700
commit3c9d261809bfafc4350147ade7b74022dd144d32 (patch)
treeb60474fc632ed6c7bf0c4ea3550dc319f79e09a9
parentbe959acf80082c539cd533e58d78584311f1966a (diff)
downloadzlib-3c9d261809bfafc4350147ade7b74022dd144d32.tar.gz
zlib-3c9d261809bfafc4350147ade7b74022dd144d32.tar.bz2
zlib-3c9d261809bfafc4350147ade7b74022dd144d32.zip
Correct documentation of gzdirect() since junk at end now ignored.
-rw-r--r--zlib.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/zlib.h b/zlib.h
index b780e6c..8050bdd 100644
--- a/zlib.h
+++ b/zlib.h
@@ -1431,9 +1431,7 @@ ZEXTERN int ZEXPORT gzeof OF((gzFile file));
1431ZEXTERN int ZEXPORT gzdirect OF((gzFile file)); 1431ZEXTERN int ZEXPORT gzdirect OF((gzFile file));
1432/* 1432/*
1433 Returns true (1) if file is being copied directly while reading, or false 1433 Returns true (1) if file is being copied directly while reading, or false
1434 (0) if file is a gzip stream being decompressed. This state can change from 1434 (0) if file is a gzip stream being decompressed.
1435 false to true while reading the input file if the end of a gzip stream is
1436 reached, but is followed by data that is not another gzip stream.
1437 1435
1438 If the input file is empty, gzdirect() will return true, since the input 1436 If the input file is empty, gzdirect() will return true, since the input
1439 does not contain a gzip stream. 1437 does not contain a gzip stream.