blob: 8a718184bb2126b57c6fcbc6241e6a8376b0b688 [file] [log] [blame]
.TH "ZIP_GET_FILE_COMMENT" "3" "December 18, 2017" "NiH" "Library Functions Manual"
.nh
.if n .ad l
.SH "NAME"
\fBzip_get_file_comment\fR
\- get comment for file in zip (obsolete interface)
.SH "LIBRARY"
libzip (-lzip)
.SH "SYNOPSIS"
\fB#include <zip.h>\fR
.sp
\fIconst char *\fR
.br
.PD 0
.HP 4n
\fBzip_get_file_comment\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIint\ *lenp\fR, \fIint\ flags\fR);
.PD
.SH "DESCRIPTION"
The
\fBzip_get_file_comment\fR()
function is the obsolete version of
zip_file_get_comment(3).
The only differences are the types of the
\fIlenp\fR
and
\fIflags\fR
arguments.
.SH "SEE ALSO"
libzip(3),
zip_file_get_comment(3)
.SH "HISTORY"
\fBzip_get_file_comment\fR()
was added in libzip 0.7.
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_get_comment\fR()
instead.
.SH "AUTHORS"
Dieter Baron <\fIdillo@nih.at\fR>
and
Thomas Klausner <\fItk@giga.or.at\fR>