|
NAMEzip_fopen , zip_fopen_index
—
open file in zip archive for reading
LIBRARYlibzip (-lzip)SYNOPSIS#include <zip.h>
zip_file_t *
zip_file_t *
DESCRIPTIONThezip_fopen () function opens the file name
fname in archive. The
flags argument specifies how the name lookup should be
done, according to the values are described in
zip_name_locate(3).
Also, the following values may be
or'ed to it.
The If encrypted data is encountered, the functions call zip_fopen_encrypted(3) or zip_fopen_index_encrypted(3) respectively, using the default password set with zip_set_default_password(3). RETURN VALUESUpon successful completion, a struct zip_file pointer is returned. Otherwise,NULL is returned and the error
code in archive is set to indicate the error.
ERRORS
The function The function SEE ALSOlibzip(3), zip_fclose(3), zip_fread(3), zip_fseek(3), zip_get_num_entries(3), zip_name_locate(3), zip_set_default_password(3)HISTORYzip_fopen () and
zip_fopen_index () were added in libzip 1.0.
AUTHORSDieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
Visit the GSP FreeBSD Man Page Interface. |