zip_get_num_files man page

zip_get_num_files — get number of files in archive

Library

libzip (-lzip)

Synopsis

#include <zip.h>

int

zip_get_num_files(zip_t *archive);

Description

This function is deprecated. Use zip_get_num_entries(3) instead.

The zip_get_num_files() function returns the number of files in archive.

Return Values

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

See Also

libzip(3), zip_fopen_index(3), zip_stat_index(3)

Authors

Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>

Info

February 14, 2011 NiH Library Functions Manual