1ZIP_DISCARD(3) BSD Library Functions Manual ZIP_DISCARD(3)
2
4 zip_discard — close zip archive and discard changes
5
7 libzip (-lzip)
8
10 #include <zip.h>
11
12 void
13 zip_discard(zip_t *archive);
14
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
21 libzip(3), zip_close(3)
22
24 zip_discard() was added in libzip 0.11.
25
27 Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
28
29BSD December 18, 2017 BSD