|ZIP_CLOSE(3)||Library Functions Manual||ZIP_CLOSE(3)|
zip_close() function writes any changes made to archive to disk. If archive contains no files, the file is completely removed (no empty archive is written). If successful, archive is freed. If writing fails,
zip_close() fails; archive is left unchanged and must still be freed.
To close and free a zip archive without saving changes, use zip_discard(3).
zip_close() will fail if:
zip_close() was added in libzip 0.6.
|December 18, 2017||NetBSD 8.99.35|