inflateEnd — Frees all allocated state information referenced by stream..
Libz.lib
#include <zlib.h>
int inflateEnd(z_streamp stream);
On success, inflateEnd()
shall return Z_OK.
Otherwise it shall return Z_STREAM_ERROR
to indicate the error.
The inflateEnd() function shall free all allocated state information referenced by stream. All pending output is discarded, and unprocessed input is ignored.
To free all the allocated state information referenced by stream:
#include <stdio.h> |
On error, inflateEnd() shall return Z_STREAM_ERROR. The following conditions shall be treated as an error:
The state in stream is inconsistent.
stream
is NULL
.
The zfree
function pointer is NULL
.
For additional information or queries on this page send feedback
© 2005-2007 Nokia |