1ZIP_RENAME(3)            BSD Library Functions Manual            ZIP_RENAME(3)
2

NAME

4     zip_rename — rename file in zip archive (obsolete interface)
5

LIBRARY

7     libzip (-lzip)
8

SYNOPSIS

10     #include <zip.h>
11
12     int
13     zip_rename(zip_t *archive, zip_uint64_t index, const char *name);
14

DESCRIPTION

16     zip_rename() is the obsolete version of zip_file_rename(3).  It is the
17     same as calling zip_file_rename(3) with an empty flags argument.
18

SEE ALSO

20     libzip(3), zip_file_rename(3)
21

HISTORY

23     zip_rename() was added in libzip 0.6.  In libzip 0.10 the type of index
24     was changed from int to zip_uint64_t.  It was deprecated in libzip 0.11,
25     use zip_file_rename() instead.
26

AUTHORS

28     Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
29
30BSD                            December 18, 2017                           BSD
Impressum