zip_discard - Man Page

close zip archive and discard changes

Library

libzip (-lzip)

Synopsis

#include <zip.h>

void
zip_discard(zip_t *archive);

Description

The zip_discard() function closes archive and frees the memory allocated for it. Any changes to the archive are not written to disk and discarded.

See Also

libzip(3), zip_close(3)

History

zip_discard() was added in libzip 0.11.

Authors

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

Referenced By

libzip(3), zip_close(3).

December 18, 2017