diff options
| -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 |
