1ZIP_SOURCE_COMMIT_WRI... BSD Library Functions Manual ZIP_SOURCE_COMMIT_WRI...
2
4 zip_source_commit_write — finalize changes to zip source
5
7 libzip (-lzip)
8
10 #include <zip.h>
11
12 int
13 zip_source_commit_write(zip_source_t *source);
14
16 The function zip_source_commit_write() finishes writing data to source
17 and replaces the original with the newly written data.
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_begin_write(3),
25 zip_source_rollback_write(3), zip_source_seek_write(3),
26 zip_source_tell_write(3), zip_source_write(3)
27
29 zip_source_commit_write() was added in libzip 1.0.
30
32 Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
33
34BSD December 18, 2017 BSD