DOKK / manpages / debian 11 / libzip-dev / zip_source_is_deleted.3.en
ZIP_SOURCE_IS_DELETED(3) Library Functions Manual ZIP_SOURCE_IS_DELETED(3)

zip_source_is_deletedcheck if zip_source is deleted

libzip (-lzip)

#include <zip.h>

int
zip_source_is_deleted(zip_source_t *source);

The function () returns whether the zip_source was deleted. This can for example happen when all entries are removed from a zip archive.

zip_source_is_deleted() returns 1 if the zip_source is deleted and 0 otherwise.

libzip(3), zip_source(3)

zip_source_is_deleted() was added in libzip 1.0.

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

December 18, 2017 Debian