9cf0381a05e3a45f839e8c6300b6f5edc1b4dc5f
[platform/upstream/libzip.git] / man / zip_unchange_all.man
1 .TH "ZIP_UNCHANGE_ALL" "3" "April 23, 2006" "NiH" "Library Functions Manual"
2 .nh
3 .if n .ad l
4 .SH "NAME"
5 \fBzip_unchange_all\fR
6 \- undo all changes in a zip archive
7 .SH "LIBRARY"
8 libzip (-lzip)
9 .SH "SYNOPSIS"
10 \fB#include <zip.h>\fR
11 .sp
12 \fIint\fR
13 .PD 0
14 .HP 4n
15 \fBzip_unchange_all\fR(\fIzip_t\ *archive\fR);
16 .PD
17 .SH "DESCRIPTION"
18 All changes to files and global information in
19 \fIarchive\fR
20 are reverted.
21 .SH "RETURN VALUES"
22 Upon successful completion 0 is returned.
23 Otherwise, \-1 is returned and the error code in
24 \fIarchive\fR
25 is set to indicate the error.
26 .SH "SEE ALSO"
27 libzip(3),
28 zip_unchange(3),
29 zip_unchange_archive(3)
30 .SH "AUTHORS"
31 Dieter Baron <\fIdillo@nih.at\fR>
32 and
33 Thomas Klausner <\fItk@giga.or.at\fR>