zip_source_is_seekable

zip_source_is_seekable
check if a source supports seeking

libzip (-lzip)

#include <zip.h>

int
zip_source_is_seekable(zip_source_t *source);

The function zip_source_is_seekable() checks if source supports seeking via zip_source_seek(3).

If the source supports seeking, 1 is returned. Otherwise, 0 is returned.

libzip(3), zip_source(3), zip_source_seek(3)

zip_source_is_seekable() was added in libzip 1.10.0.

Dieter Baron <dillo@nih.at> and Thomas Klausner <wiz@gatalith.at>