Imported Upstream version 1.1.3
[platform/upstream/libzip.git] / man / zip_set_archive_flag.man
1 .TH "ZIP_SET_ARCHIVE_FLAG" "3" "April 29, 2015" "NiH" "Library Functions Manual"
2 .nh
3 .if n .ad l
4 .SH "NAME"
5 \fBzip_set_archive_flag\fR
6 \- set zip archive flag
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_set_archive_flag\fR(\fIzip_t\ *archive\fR, \fIzip_flags_t\ flag\fR, \fIint\ value\fR);
16 .PD
17 .SH "DESCRIPTION"
18 The
19 \fBzip_set_archive_flag\fR()
20 function sets the flag
21 \fIflag\fR
22 for the archive
23 \fIarchive\fR
24 to the value
25 \fIvalue\fR.
26 .PP
27 Currently there are no supported flags.
28 .SH "RETURN VALUES"
29 Upon successful completion 0 is returned, and \-1 if an error
30 occurred.
31 .SH "SEE ALSO"
32 libzip(3),
33 zip_get_archive_flag(3)
34 .SH "AUTHORS"
35 Dieter Baron <\fIdillo@nih.at\fR>
36 and
37 Thomas Klausner <\fItk@giga.or.at\fR>