zip_source_window_create() function create a zip source from an underlying zip source, restricting access to a particular window starting at byte start and having size len. If len is -1, the window spans to the end of the underlying source.
zip_source_window_create() don't take ownership of
source. The caller is responsible for freeing it.
(This is different to other layered sources.)
NULLis returned and the error code in error is set to indicate the error.
zip_source_window_create() fails if:
zip_source_window_create() was added in libzip 1.8.0.