|
NAMEzip_get_name —
get name of file by index
LIBRARYlibzip (-lzip)SYNOPSIS#include <zip.h>
const char *
DESCRIPTIONThezip_get_name () function returns the name of the file
at position index in archive. The
name is in UTF-8 encoding unless ZIP_FL_ENC_RAW was
specified (see below).
If flags is set to
Additionally, the following flags are supported:
RETURN VALUESUpon successful completion, a pointer to the name is returned. Otherwise,NULL and the error code in
archive is set to indicate the error.
ERRORSzip_get_name () fails if:
SEE ALSOlibzip(3), zip_name_locate(3)HISTORYzip_get_name () was added in libzip 0.6. In libzip 0.10
the type of index was changed from
int to zip_uint64_t. In libzip
0.11 the type of flags was changed from
int to zip_flags_t.
AUTHORSDieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
Visit the GSP FreeBSD Man Page Interface. |