ZIP_FCLOSE(3) Library Functions Manual ZIP_FCLOSE(3)

zip_fclose
close file in zip archive

libzip (-lzip)

#include <zip.h>

int
zip_fclose(zip_file_t *file);

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

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

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

zip_fclose() was added in libzip 0.6.

Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
December 18, 2017 NiH