1ZIP_SOURCE_CLOSE(3) BSD Library Functions Manual ZIP_SOURCE_CLOSE(3)
2
4 zip_source_close — open zip_source (which was open for reading)
5
7 libzip (-lzip)
8
10 #include <zip.h>
11
12 int
13 zip_source_close(zip_source_t *source);
14
16 The function zip_source_close() closes source, indicating that no more
17 data will be read.
18
20 Upon successful completion 0 is returned. Otherwise, -1 is returned and
21 the error information in source is set to indicate the error.
22
24 libzip(3), zip_source(3), zip_source_free(3), zip_source_open(3)
25
27 zip_source_close() was added in libzip 1.0.
28
30 Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
31
32BSD December 18, 2017 BSD