is a library for reading, creating, and modifying zip archives.
The main design criteria for libzip
Do not create corrupt files, even in case of errors.
Do not delete data.
For this reason, when modifying zip archives, libzip
writes to a temporary file and replaces the original zip archive atomically.
Below there are two sections listing functions: one for how to read from zip archives and one for how to create/modify them.