Ubuntu Manpages

zip_fclose

close file in zip archive

libzip (-lzip)

#include <zip.h>

int zip_fclose(struct zip_file *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)

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