|
NAMEzip_file_extra_fields_count ,
zip_file_extra_fields_count_by_id —
count extra fields for file in zip
LIBRARYlibzip (-lzip)SYNOPSIS#include <zip.h>
zip_int16_t
zip_int16_t
DESCRIPTIONThezip_file_extra_fields_count () function counts the
extra fields for the file at position index in the zip
archive.
The following flags are supported:
The Extra fields that are the same in the central directory and the
local file header are merged into one. Therefore, the counts with
RETURN VALUESUpon successful completion, the requested number of extra fields is returned. Otherwise, -1 is returned and the error code in archive is set to indicate the error.ERRORSzip_file_extra_fields_count () and
zip_file_extra_fields_count_by_id () fail if:
SEE ALSOlibzip(3), zip_file_extra_field_delete(3), zip_file_extra_field_get(3), zip_file_extra_field_set(3)HISTORYzip_file_extra_fields_count () and
zip_file_extra_fields_count_by_id () were added in
libzip 0.11.
AUTHORSDieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
Visit the GSP FreeBSD Man Page Interface. |