ZIP_FCLOSE(3) Library Functions Manual ZIP_FCLOSE(3)

close file in zip archive

libzip (-lzip)

#include <zip.h>

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 <> and Thomas Klausner <>
December 18, 2017 NetBSD 8.99.35