LIBRARY
libzip (-lzip)SYNOPSIS
#include <zip.h>zip_int64_t
- zip_source_seek_compute_offset(zip_uint64_t offset, zip_uint64_t length, void *data, zip_uint64_t data_length, zip_error_t *error);
DESCRIPTION
RETURN VALUES
On success, it returns the new offset, on error it returns -1 and sets error.ERRORS
zip_source_seek_compute_offset() fails if:- [ZIP_ER_INVAL]
- One of the arguments is invalid or the seek would place the offset outside the data.