Thomas Klausner | 4edcedc | 2017-12-06 12:43:04 +0100 | [diff] [blame] | 1 | .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" |
| 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_source_open\fR(\fIzip_source_t\ *source\fR); |
| 16 | .PD |
| 17 | .SH "DESCRIPTION" |
| 18 | The function |
| 19 | \fBzip_source_open\fR() |
| 20 | opens |
| 21 | \fIsource\fR |
| 22 | for reading. |
| 23 | .SH "RETURN VALUES" |
| 24 | Upon successful completion 0 is returned. |
| 25 | Otherwise, \-1 is returned and the error information in |
| 26 | \fIsource\fR |
| 27 | is set to indicate the error. |
| 28 | .SH "SEE ALSO" |
| 29 | libzip(3), |
| 30 | zip_source(3), |
| 31 | zip_source_begin_write(3), |
| 32 | zip_source_close(3), |
| 33 | zip_source_read(3), |
| 34 | zip_source_seek(3), |
| 35 | zip_source_tell(3) |
| 36 | .SH "AUTHORS" |
| 37 | Dieter Baron <\fIdillo@nih.at\fR> |
| 38 | and |
| 39 | Thomas Klausner <\fItk@giga.or.at\fR> |