zip_fclose(3)
Name
zip_fclose — 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
If no read error occurred and the source could be closed successfully, 0 is returned. Otherwise the error code is returned. If a system error occurred, errno is set appropriately.
See Also
History
zip_fclose() was added in libzip 0.6.
Authors
Dieter Baron <dillo@nih.at> and Thomas Klausner <wiz@gatalith.at>