Testing zlib-ng Install zlib-ng https://github.com/zlib-ng/zlib-ng Compile the project gcc zpipe.c -l z-ng -o zpipe A boring test : echo test | ./zpipe | ./zpipe -d | cat Credit to https://www.zlib.net/zlib_how.html