gzrewind — Resets the file-position on a compressed file stream.
Libz.lib
On success, gzrewind()
shall return 0.
On error, gzrewind() shall return -1, and
may set the error value for file
accordingly.
The gzrewind() function shall set the starting position for the next read on compressed file stream file to the beginning of file. file must be open for reading.
To reset the file-position on a compressed file stream:
#include <stdio.h>
void Gzrewind( )
{
int len = (int)strlen(hello)+1;
|
On error, gzrewind()
shall return -1
,
indicating that file is NULL
, or does not represent
an open compressed file stream, or represents a compressed file stream
that is open for writing and is not currently at the beginning of file.
For additional information or queries on this page send feedback
© 2005-2007 Nokia |