1ZIP_GET_NUM_ENTRIES(3)   BSD Library Functions Manual   ZIP_GET_NUM_ENTRIES(3)
2

NAME

4     zip_get_num_entries — get number of files in archive
5

LIBRARY

7     libzip (-lzip)
8

SYNOPSIS

10     #include <zip.h>
11
12     zip_int64_t
13     zip_get_num_entries(zip_t *archive, zip_flags_t flags);
14

DESCRIPTION

16     The zip_get_num_entries() function returns the number of files in
17     archive.  If flags is set to ZIP_FL_UNCHANGED, the original number of
18     entries is returned.
19

RETURN VALUES

21     zip_get_num_entries() returns the number of files in the zip archive, or
22     -1 if archive is NULL.
23

SEE ALSO

25     libzip(3), zip_fopen_index(3), zip_stat_index(3)
26

HISTORY

28     zip_get_num_entries() was added in libzip 0.10.  In libzip 0.11 the
29     return type was changed from zip_uint64_t to zip_int64_t.  In libzip 0.11
30     the type of flags was changed from int to zip_flags_t.
31

AUTHORS

33     Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
34
35BSD                            December 18, 2017                           BSD
Impressum