Imported Upstream version 1.4.0
[platform/upstream/libzip.git] / man / zip_unchange_archive.man
1 .TH "ZIP_UNCHANGE_ARCHIVE" "3" "December 18, 2017" "NiH" "Library Functions Manual"
2 .nh
3 .if n .ad l
4 .SH "NAME"
5 \fBzip_unchange_archive\fR
6 \- undo global changes to zip archive
7 .SH "LIBRARY"
8 libzip (-lzip)
9 .SH "SYNOPSIS"
10 \fB#include <zip.h>\fR
11 .sp
12 \fIint\fR
13 .br
14 .PD 0
15 .HP 4n
16 \fBzip_unchange_archive\fR(\fIzip_t\ *archive\fR);
17 .PD
18 .SH "DESCRIPTION"
19 Revert all global changes to the archive
20 \fIarchive\fR.
21 This reverts changes to the archive comment and global flags.
22 .SH "RETURN VALUES"
23 Upon successful completion 0 is returned.
24 Otherwise, \-1 is returned and the error code in
25 \fIarchive\fR
26 is set to indicate the error.
27 .SH "SEE ALSO"
28 libzip(3),
29 zip_unchange(3),
30 zip_unchange_all(3)
31 .SH "HISTORY"
32 \fBzip_unchange_archive\fR()
33 was added in libzip 0.7.
34 .SH "AUTHORS"
35 Dieter Baron <\fIdillo@nih.at\fR>
36 and
37 Thomas Klausner <\fItk@giga.or.at\fR>