ZIP_DISCARD(3) Introduction to Library Functions ZIP_DISCARD(3)
zip_discard - close zip archive and discard changes
libzip (-lzip)
#include <zip.h>
void
zip_discard(zip_t *archive);
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.
libzip(3), zip_close(3)
zip_discard() was added in libzip 0.11.
Dieter Baron <dillo@nih.at> and Thomas Klausner <wiz@gatalith.at>
illumos December 18, 2017 illumos
NAME
zip_discard - 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>
illumos December 18, 2017 illumos