zip_discard — close zip archive and discard changes
Contents
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.
History
zip_discard() was added in libzip 0.11.
Library
libzip (-lzip)
Name
zip_discard — close zip archive and discard changes
See Also
libzip(3), zip_close(3)
Synopsis
#include<zip.h>voidzip_discard(zip_t*archive);
