blob: b42761b1466c7b0fb965097ce8f6b36f10c69967 [file] [log] [blame]
Thomas Klausner4edcedc2017-12-06 12:43:04 +01001.TH "ZIP_SOURCE_OPEN" "3" "November 18, 2014" "NiH" "Library Functions Manual"
2.nh
3.if n .ad l
4.SH "NAME"
5\fBzip_source_open\fR
6\- open zip_source for reading
7.SH "LIBRARY"
8libzip (-lzip)
9.SH "SYNOPSIS"
10\fB#include <zip.h>\fR
11.sp
12\fIint\fR
13.PD 0
14.HP 4n
15\fBzip_source_open\fR(\fIzip_source_t\ *source\fR);
16.PD
17.SH "DESCRIPTION"
18The function
19\fBzip_source_open\fR()
20opens
21\fIsource\fR
22for reading.
23.SH "RETURN VALUES"
24Upon successful completion 0 is returned.
25Otherwise, \-1 is returned and the error information in
26\fIsource\fR
27is set to indicate the error.
28.SH "SEE ALSO"
29libzip(3),
30zip_source(3),
31zip_source_begin_write(3),
32zip_source_close(3),
33zip_source_read(3),
34zip_source_seek(3),
35zip_source_tell(3)
36.SH "AUTHORS"
37Dieter Baron <\fIdillo@nih.at\fR>
38and
39Thomas Klausner <\fItk@giga.or.at\fR>