Skip to content

zip_fclose(3)

Name

zip_fcloseclose 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 <wiz@gatalith.at>