Can anyone point me to a shared library (or MIT or BSD license) for unpacking .Z files in ANSI C?
Thank!
Sorry I was talking garbage in my previous answer. Obviously unix compressed files (.Z) use LZW and not Deflate.
In this case, check liblzw . This is a public domain.
There's a public domain version on sourceforge: ncompress
Edit: liblzw ( DrJokepu's suggestion) and ncompress use the same developer and codebase, so stick with liblzw ...