1ZIP_SOURCE_FREE(3) BSD Library Functions Manual ZIP_SOURCE_FREE(3)
2
4 zip_source_free — free zip data source
5
7 libzip (-lzip)
8
10 #include <zip.h>
11
12 void
13 zip_source_free(zip_source_t *source);
14
16 The function zip_source_free() decrements the reference count of source
17 and frees it if the reference count drops to 0. If source is NULL, it
18 does nothing.
19
20 NOTE: This function should not be called on a source after it was used
21 successfully in a zip_open_from_source(3), zip_file_add(3), or
22 zip_file_replace(3) call.
23
25 libzip(3), zip_source(3), zip_source_keep(3)
26
28 zip_source_free() was added in libzip 0.6.
29
31 Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
32
33BSD December 18, 2017 BSD