Corne van Biljon wrote: > > Hello > > I would like to zip a file, specified by the user, from within a C > program. Currently I use the system() command to invoke gzip. Is there a > compression library or routenes out there somewhere, or is there a > better way of doing this ? Most program use system("gzip ..."), but there is a library called zlib that implements both compression and uncompression. Documentation is in /usr/include/zlib.h if you have it installed. --- Henrik Nordström
- [Q] gzip from C program Corne van Biljon
- Re: [Q] gzip from C program Henrik Nordstrom
- Re: [Q] gzip from C program joe vannucci
- Re: [Q] gzip from C program CyberPeasant
- Re: [Q] gzip from C program Glynn Clements