1ZIP_GET_NUM_ENTRIES(3) Library Functions Manual ZIP_GET_NUM_ENTRIES(3)
2
3
4
6 zip_get_num_entries - get number of files in archive
7
9 libzip (-lzip)
10
12 #include <zip.h>
13
14 zip_uint64_t zip_get_num_entries(struct zip *archive, int flags);
15
17 The zip_get_num_entries function returns the number of files in ar‐
18 chive. If flags is set to ZIP_FL_UNCHANGED, the original number of
19 entries is returned.
20
22 zip_get_num_entries returns the number of files in the zip archive, or
23 -1 if archive is NULL.
24
26 libzip(3), zip_fopen_index(3), zip_stat_index(3)
27
29 Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>
30
31
32
33NiH February 14, 2011 ZIP_GET_NUM_ENTRIES(3)