1ZIP_DELETE(3)              Library Functions Manual              ZIP_DELETE(3)
2
3
4

NAME

6       zip_delete - delete file from zip archive
7

LIBRARY

9       libzip (-lzip)
10

SYNOPSIS

12       #include <zip.h>
13
14       int zip_delete(struct zip *archive, zip_uint64_t index);
15

DESCRIPTION

17       The  file  at  position  index  in the zip archive archive is marked as
18       deleted.
19

RETURN VALUES

21       Upon successful completion 0 is returned.  Otherwise,  -1  is  returned
22       and the error code in archive is set to indicate the error.
23

ERRORS

25       zip_delete fails if:
26
27              [ZIP_ER_INVAL]
28                  index is not a valid file index in archive.
29

SEE ALSO

31       libzip(3), zip_unchange(3)
32

AUTHORS

34       Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>
35
36
37
38NiH                             March 10, 2009                   ZIP_DELETE(3)
Impressum