|
NAMEzip_file_extra_field_delete ,
zip_file_extra_field_delete_by_id —
delete extra field for file in zip
LIBRARYlibzip (-lzip)SYNOPSIS#include <zip.h>
int
int
DESCRIPTIONThezip_file_extra_field_delete () function deletes the
extra field with index extra_field_index for the file at
position index in the zip archive.
If extra_field_index is
The following flags are supported:
The Please note that due to the library design, the index of an extra
field may be different between central directory and local file headers. For
this reason, it is not allowed to specify both
RETURN VALUESUpon successful completion 0 is returned. Otherwise, -1 is returned and the error code in archive is set to indicate the error.ERRORSzip_file_extra_field_delete () and
zip_file_extra_field_delete_by_id () fail if:
SEE ALSOlibzip(3), zip_file_extra_field_get(3), zip_file_extra_field_set(3), zip_file_extra_fields_count(3)HISTORYzip_file_extra_field_delete () and
zip_file_extra_field_delete_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. |