~ubuntu-branches/ubuntu/vivid/libzip/vivid

« back to all changes in this revision

Viewing changes to man/zip_get_num_files.man

  • Committer: Package Import Robot
  • Author(s): Fathi Boudra
  • Date: 2014-02-09 13:24:18 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20140209132418-t7u2auujqnfb5rvm
Tags: 0.11.2-1
* New upstream release (Closes: #734388).
* Remove patches:
  - fix_open_nonarchive_test.patch - fixed upstream
  - fix_zipconf_path.patch - fixed upstream
  - fix_broken_decrypt.patch - fixed upstream
  - fix_autotools_tests.diff - stolen upstream
* Update debian/control:
  - add unzip to Build-Depends.
  - bump compat to 9
* Update *.install: multiarch paths.
* Update libzip2 symbols file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" zip_get_num_files.mdoc \-- get number of files in archive
2
 
.\" Copyright (C) 2003-2011 Dieter Baron and Thomas Klausner
3
 
.\"
4
 
.\" This file is part of libzip, a library to manipulate ZIP archives.
5
 
.\" The authors can be contacted at <libzip@nih.at>
6
 
.\"
7
 
.\" Redistribution and use in source and binary forms, with or without
8
 
.\" modification, are permitted provided that the following conditions
9
 
.\" are met:
10
 
.\" 1. Redistributions of source code must retain the above copyright
11
 
.\"    notice, this list of conditions and the following disclaimer.
12
 
.\" 2. Redistributions in binary form must reproduce the above copyright
13
 
.\"    notice, this list of conditions and the following disclaimer in
14
 
.\"    the documentation and/or other materials provided with the
15
 
.\"    distribution.
16
 
.\" 3. The names of the authors may not be used to endorse or promote
17
 
.\"    products derived from this software without specific prior
18
 
.\"    written permission.
19
 
.\"
20
 
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
21
 
.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22
 
.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23
 
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
24
 
.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
 
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
26
 
.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27
 
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
28
 
.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29
 
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
30
 
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
 
.\"
32
 
.TH ZIP_GET_NUM_FILES 3 "February 14, 2011" NiH
 
1
.TH "ZIP_GET_NUM_FILES" "3" "February 14, 2011" "NiH" "Library Functions Manual"
 
2
.nh
 
3
.if n .ad l
33
4
.SH "NAME"
34
 
zip_get_num_files \- get number of files in archive
 
5
\fBzip_get_num_files\fR
 
6
\- get number of files in archive
35
7
.SH "LIBRARY"
36
8
libzip (-lzip)
37
9
.SH "SYNOPSIS"
38
 
#include <zip.h>
39
 
.PP
40
 
int
41
 
zip_get_num_files(struct zip *archive);
 
10
\fB#include <zip.h>\fR
 
11
.sp
 
12
\fIint\fR
 
13
.br
 
14
\fBzip_get_num_files\fR(\fIstruct zip *archive\fR);
42
15
.SH "DESCRIPTION"
43
 
.I This function is deprecated.
44
 
.I Use
 
16
\fIThis function is deprecated.\fR
 
17
\fIUse\fR
45
18
zip_get_num_entries(3)
46
 
.I instead.
 
19
\fIinstead.\fR
47
20
.PP
48
21
The
49
 
zip_get_num_files
 
22
\fBzip_get_num_files\fR()
50
23
function returns the number of files in
51
 
\fBarchive.\fR
 
24
\fIarchive\fR.
52
25
.SH "RETURN VALUES"
53
 
zip_get_num_files
 
26
\fBzip_get_num_files\fR()
54
27
returns the number of files in the zip archive,
55
28
or \-1 if
56
 
\fBarchive\fR
 
29
\fIarchive\fR
57
30
is
58
 
\fBNULL.\fR
 
31
\fRNULL\fR.
59
32
.SH "SEE ALSO"
60
33
libzip(3),
61
34
zip_fopen_index(3),
62
35
zip_stat_index(3)
63
36
.SH "AUTHORS"
64
 
 
65
 
Dieter Baron <dillo@giga.or.at>
 
37
Dieter Baron <\fIdillo@nih.at\fR>
66
38
and
67
 
Thomas Klausner <tk@giga.or.at>
 
39
Thomas Klausner <\fItk@giga.or.at\fR>