zip_fclose - Man Page

close file in zip archive

Library

libzip (-lzip)

Synopsis

#include <zip.h>

int
zip_fclose(zip_file_t *file);

Description

The zip_fclose() function closes file and frees the memory allocated for it.

Return Values

Upon successful completion 0 is returned. Otherwise, the error code is returned.

See Also

libzip(3), zip_fopen(3), zip_fread(3), zip_fseek(3)

History

zip_fclose() was added in libzip 0.6.

Authors

Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>

Referenced By

libzip(3), zip_fopen(3), zip_fopen_encrypted(3), zip_fread(3), zip_fseek(3), zip_ftell(3).

December 18, 2017