blob: 7979dab0ecc756a2416b5321174ab89aae1aa83b [file] [log] [blame]
.TH "ZIP_RENAME" "3" "December 18, 2017" "NiH" "Library Functions Manual"
.nh
.if n .ad l
.SH "NAME"
\fBzip_rename\fR
\- rename file in zip archive (obsolete interface)
.SH "LIBRARY"
libzip (-lzip)
.SH "SYNOPSIS"
\fB#include <zip.h>\fR
.sp
\fIint\fR
.br
.PD 0
.HP 4n
\fBzip_rename\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIconst\ char\ *name\fR);
.PD
.SH "DESCRIPTION"
\fBzip_rename\fR()
is the obsolete version of
zip_file_rename(3).
It is the same as calling
zip_file_rename(3)
with an empty flags argument.
.SH "SEE ALSO"
libzip(3),
zip_file_rename(3)
.SH "HISTORY"
\fBzip_rename\fR()
was added in libzip 0.6.
In libzip 0.10 the type of
\fIindex\fR
was changed from
\fIint\fR
to
\fIzip_uint64_t\fR.
It was deprecated in libzip 0.11, use
\fBzip_file_rename\fR()
instead.
.SH "AUTHORS"
Dieter Baron <\fIdillo@nih.at\fR>
and
Thomas Klausner <\fItk@giga.or.at\fR>