zip_get_num_files(3) 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.

AUTHORS

Dieter Baron <[email protected]> and Thomas Klausner <[email protected]>