Linux Standard Base Core Specification 3.2 | ||
---|---|---|
<<< Previous | Next >>> |
The inflateSyncPoint() function shall return a non-zero value if the compressed data stream referenced by stream is at a synchronization point.
If the compressed data in stream is at
a synchronization point (see deflate()
with a flush level of Z_SYNC_FLUSH
or
Z_FULL_FLUSH
), inflateSyncPoint()
shall return a non-zero value, other than Z_STREAM_ERROR
.
Otherwise, if the stream is valid,
inflateSyncPoint() shall return 0.
If stream is invalid, or in an invalid state,
inflateSyncPoint() shall return
Z_STREAM_ERROR to indicate the error.
On error, inflateSyncPoint() shall return a value as described below:
Z_STREAM_ERROR | The state (as represented in stream) is inconsistent, or
stream was |
<<< Previous | Home | Next >>> |
inflateSync | Up | uncompress |