In gzip libary, what's the difference between 'uncompress' and 'gzopen' ?

Posted by Sol on Stack Overflow See other posts from Stack Overflow or by Sol
Published on 2010-02-01T03:13:38Z Indexed on 2010/06/05 21:02 UTC
Read the original article Hit count: 159

Filed under:

There are some functions to decompress in zlib library(zlib version 1.2.3)

I want to decompress my source zip(.gz) file using 'uncompress' function. It is now working(error code -3) but gzopen is.

It is still not working when I input payload pointer(passing gzip header) to 'uncompress' . So the question is

"What's the valid arguments for uncompress function?"

and If it needs different format, how can I make it?

Google doesn't helpful this time :(

© Stack Overflow or respective owner

Related posts about zlib