ZIP_UNCHANGE_ALL(3) Library Functions Manual ZIP_UNCHANGE_ALL(3)

zip_unchange_allundo all changes in a zip archive

libzip (-lzip)

#include <zip.h>

int
zip_unchange_all(zip_t *archive);

All changes to files and global information in archive are reverted.

Upon successful completion 0 is returned. Otherwise, -1 is returned and the error code in archive is set to indicate the error.

libzip(3), zip_unchange(3), zip_unchange_archive(3)

zip_unchange_all() was added in libzip 0.6.

Dieter Baron <dillo@nih.at> and Thomas Klausner <wiz@gatalith.at>

December 18, 2017 Linux 6.11.5-arch1-1