libzip is a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted. The API is documented by man pages.
| Tags | Other/Nonlisted Topic Software Development Libraries |
|---|---|
| Licenses | BSD Revised |
| Operating Systems | POSIX |
| Implementation | C |
Recent releases


Release Notes: Support for traditional PKWARE encryption was added, Windows and CMake support and documentation were improved. CVE-2011-0421, opening archvies with more than 65535 entries, and various other bugs and memory leaks were fixed. zip_get_num_files() has been deprecated with the new function zip_get_num_files().


Release Notes: This release adds support for creating torrentzipped archives. It fixes various bugs and portability issues (especially on Windows). zip_source_file now only keeps the file open while actually reading from it, which allows adding more files than can be opened simultaneously.


Release Notes: New functions were added for adding directories to an archive and to clear the internal error state. Zip archives larger than 2 GB and streamed zip archives are now supported.


Release Notes: A double-free in an error case in zip_close has been fixed.


Release Notes: Support for reading and writing file and archive comments has been added. A new member has been added to struct zip_stat for future encryption support, and zip_add now returns the index of the added file. Because of the last two changes, the shard library major version has been bumped.