zlib and gzip examples zlib is a compression library, which the gzip tool uses to compress data into .gz files. Use the provided Makefile to run the examples.