diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2011-10-02 12:13:50 -0700 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2011-10-02 12:13:50 -0700 |
| commit | 3c9d261809bfafc4350147ade7b74022dd144d32 (patch) | |
| tree | b60474fc632ed6c7bf0c4ea3550dc319f79e09a9 | |
| parent | be959acf80082c539cd533e58d78584311f1966a (diff) | |
| download | zlib-3c9d261809bfafc4350147ade7b74022dd144d32.tar.gz zlib-3c9d261809bfafc4350147ade7b74022dd144d32.tar.bz2 zlib-3c9d261809bfafc4350147ade7b74022dd144d32.zip | |
Correct documentation of gzdirect() since junk at end now ignored.
| -rw-r--r-- | zlib.h | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -1431,9 +1431,7 @@ ZEXTERN int ZEXPORT gzeof OF((gzFile file)); | |||
| 1431 | ZEXTERN int ZEXPORT gzdirect OF((gzFile file)); | 1431 | ZEXTERN 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. |
