Linux Standard Base Core Specification 3.1 | ||
---|---|---|
<<< Previous | Next >>> |
The gztell() function shall return the starting position for the next read or write operation on compressed file stream file. This position represents the number of bytes from the beginning of file in the uncompressed data.
gztell() is equivalent to
gzseek(file, 0L, SEEK_SET) |
gztell() shall return the current offset in the file expressed as a byte position in the uncompressed data stream. On error, gztell() shall return -1, and may set the error value for file accordingly.
On error, gztell() shall return -1
,
indicating that file is
NULL
, or does not represent
an open compressed file stream.
<<< Previous | Home | Next >>> |
gzsetparams | Up | gzwrite |