Skip to content

zip_unchange_archive(3)

Name

zip_unchange_archiveundo global changes to zip archive

Library

libzip (-lzip)

Synopsis

#include <zip.h>

int
zip_unchange_archive(zip_t *archive);

Description

Revert all global changes to the archive archive. This reverts changes to the archive comment and global flags.

Return Values

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

See Also

libzip(3), zip_unchange(3), zip_unchange_all(3)

History

zip_unchange_archive() was added in libzip 0.7.

Authors

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