1ZIP_DISCARD(3)           BSD Library Functions Manual           ZIP_DISCARD(3)
2

NAME

4     zip_discard — close zip archive and discard changes
5

LIBRARY

7     libzip (-lzip)
8

SYNOPSIS

10     #include <zip.h>
11
12     void
13     zip_discard(zip_t *archive);
14

DESCRIPTION

16     The zip_discard() function closes archive and frees the memory allocated
17     for it.  Any changes to the archive are not written to disk and dis‐
18     carded.
19

SEE ALSO

21     libzip(3), zip_close(3)
22

HISTORY

24     zip_discard() was added in libzip 0.11.
25

AUTHORS

27     Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
28
29BSD                            December 18, 2017                           BSD
Impressum