Does anyone know of a library on Solaris that has functions to allow you to read from a compressed file? I have a large number of compressed files that I need to process. I could write a wrapper script that uncompresses the file, passes the uncompressed file as an argument to my program and recompresses it again. But it would be nicer if I could do it all within the program, just passing the compressed file as the argument. Does anyone know of such a library?