| .TH "ZIP_GET_NUM_FILES" "3" "February 14, 2011" "NiH" "Library Functions Manual" |
| .nh |
| .if n .ad l |
| .SH "NAME" |
| \fBzip_get_num_files\fR |
| \- get number of files in archive |
| .SH "LIBRARY" |
| libzip (-lzip) |
| .SH "SYNOPSIS" |
| \fB#include <zip.h>\fR |
| .sp |
| \fIint\fR |
| .br |
| \fBzip_get_num_files\fR(\fIstruct zip *archive\fR); |
| .SH "DESCRIPTION" |
| \fIThis function is deprecated.\fR |
| \fIUse\fR |
| zip_get_num_entries(3) |
| \fIinstead.\fR |
| .PP |
| The |
| \fBzip_get_num_files\fR() |
| function returns the number of files in |
| \fIarchive\fR. |
| .SH "RETURN VALUES" |
| \fBzip_get_num_files\fR() |
| returns the number of files in the zip archive, |
| or \-1 if |
| \fIarchive\fR |
| is |
| \fRNULL\fR. |
| .SH "SEE ALSO" |
| libzip(3), |
| zip_fopen_index(3), |
| zip_stat_index(3) |
| .SH "AUTHORS" |
| Dieter Baron <\fIdillo@nih.at\fR> |
| and |
| Thomas Klausner <\fItk@giga.or.at\fR> |