1 .TH "ZIP_SOURCE_COMMIT_WRITE" "3" "November 18, 2014" "NiH" "Library Functions Manual"
5 \fBzip_source_commit_write\fR
6 \- finalize changes to zip source
10 \fB#include <zip.h>\fR
15 \fBzip_source_commit_write\fR(\fIzip_source_t\ *source\fR);
19 \fBzip_source_commit_write\fR()
20 finishes writing data to
22 and replaces the original with the newly written data.
24 Upon successful completion 0 is returned.
25 Otherwise, \-1 is returned and the error information in
27 is set to indicate the error.
31 zip_source_begin_write(3),
32 zip_source_rollback_write(3),
33 zip_source_seek_write(3),
34 zip_source_tell_write(3),
37 Dieter Baron <\fIdillo@nih.at\fR>
39 Thomas Klausner <\fItk@giga.or.at\fR>