diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2025-02-24 20:17:45 -0800 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2025-05-13 18:00:03 -0700 |
| commit | aaf94f387d78b03b6cb2a735ca32ce3c44fedea4 (patch) | |
| tree | 4b7649c550a54379d290c02d433f2774928ef029 | |
| parent | aeab3f6cc7d57ff96c82c01578bf75b09cbb5dc2 (diff) | |
| download | zlib-aaf94f387d78b03b6cb2a735ca32ce3c44fedea4.tar.gz zlib-aaf94f387d78b03b6cb2a735ca32ce3c44fedea4.tar.bz2 zlib-aaf94f387d78b03b6cb2a735ca32ce3c44fedea4.zip | |
Note that gzseek() requests are deferred until the next operation.
| -rw-r--r-- | zlib.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1578,7 +1578,8 @@ ZEXTERN z_off_t ZEXPORT gzseek(gzFile file, | |||
| 1578 | If the file is opened for reading, this function is emulated but can be | 1578 | If the file is opened for reading, this function is emulated but can be |
| 1579 | extremely slow. If the file is opened for writing, only forward seeks are | 1579 | extremely slow. If the file is opened for writing, only forward seeks are |
| 1580 | supported; gzseek then compresses a sequence of zeroes up to the new | 1580 | supported; gzseek then compresses a sequence of zeroes up to the new |
| 1581 | starting position. | 1581 | starting position. For reading or writing, any actual seeking is deferred |
| 1582 | until the next read or write operation, or close operation when writing. | ||
| 1582 | 1583 | ||
| 1583 | gzseek returns the resulting offset location as measured in bytes from | 1584 | gzseek returns the resulting offset location as measured in bytes from |
| 1584 | the beginning of the uncompressed stream, or -1 in case of error, in | 1585 | the beginning of the uncompressed stream, or -1 in case of error, in |
