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

NAME

4     zip_get_num_files — get number of files in archive (obsolete interface)
5

LIBRARY

7     libzip (-lzip)
8

SYNOPSIS

10     #include <zip.h>
11
12     int
13     zip_get_num_files(zip_t *archive);
14

DESCRIPTION

16     This function is deprecated.  Use zip_get_num_entries(3) instead.
17
18     The zip_get_num_files() function returns the number of files in archive.
19

RETURN VALUES

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

SEE ALSO

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

HISTORY

28     zip_get_num_files() was added in libzip 0.6.  It was deprecated in libzip
29     0.11, use zip_get_num_entries(instead) instead.
30

AUTHORS

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