Document zip_source_window.
diff --git a/TODO.md b/TODO.md
index ea84ad5..a7305aa 100644
--- a/TODO.md
+++ b/TODO.md
@@ -80,7 +80,6 @@
 
 ## Documentation
 
-* document `zip_source_window_create()`
 * document: `zip_source_write()`: length can't be > `ZIP_INT64_MAX`
 * document: `ZIP_SOURCE_CLOSE` implementation can't return error
 * keep error codes in man pages in sync
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
index 65c78549..7f4b0ec 100644
--- a/man/CMakeLists.txt
+++ b/man/CMakeLists.txt
@@ -89,6 +89,7 @@
   zip_source_win32a.3
   zip_source_win32handle.3
   zip_source_win32w.3
+  zip_source_window.3
   zip_source_write.3
   zip_source_zip.3
   zip_stat.3
diff --git a/man/zip_source.html b/man/zip_source.html
index b4239b8..5a86f62 100644
--- a/man/zip_source.html
+++ b/man/zip_source.html
@@ -74,7 +74,8 @@
   <a class="Xr" href="zip_source_filep_create.html">zip_source_filep_create(3)</a>,
   <a class="Xr" href="zip_source_function.html">zip_source_function(3)</a>,
   <a class="Xr" href="zip_source_function_create.html">zip_source_function_create(3)</a>,
-  or <a class="Xr" href="zip_source_zip.html">zip_source_zip(3)</a>.
+  <a class="Xr" href="zip_source_window.html">zip_source_window(3)</a>, or
+  <a class="Xr" href="zip_source_zip.html">zip_source_zip(3)</a>.
   <var class="Vt">zip_source_t</var> is reference counted, and created with a
   reference count of 1.
   <a class="Xr" href="zip_open_from_source.html">zip_open_from_source(3)</a>,
@@ -97,6 +98,7 @@
   <a class="Xr" href="zip_source_filep.html">zip_source_filep(3)</a>,
   <a class="Xr" href="zip_source_free.html">zip_source_free(3)</a>,
   <a class="Xr" href="zip_source_function.html">zip_source_function(3)</a>,
+  <a class="Xr" href="zip_source_window.html">zip_source_window(3)</a>,
   <a class="Xr" href="zip_source_zip.html">zip_source_zip(3)</a>
 </section>
 <section class="Sh">
diff --git a/man/zip_source.man b/man/zip_source.man
index 74cf8ce..eb1b238 100644
--- a/man/zip_source.man
+++ b/man/zip_source.man
@@ -58,6 +58,7 @@
 zip_source_filep_create(3),
 zip_source_function(3),
 zip_source_function_create(3),
+zip_source_window(3),
 or
 zip_source_zip(3).
 \fIzip_source_t\fR
@@ -82,6 +83,7 @@
 zip_source_filep(3),
 zip_source_free(3),
 zip_source_function(3),
+zip_source_window(3),
 zip_source_zip(3)
 .SH "AUTHORS"
 Dieter Baron <\fIdillo@nih.at\fR>
diff --git a/man/zip_source.mdoc b/man/zip_source.mdoc
index 9b0249b..a49243f 100644
--- a/man/zip_source.mdoc
+++ b/man/zip_source.mdoc
@@ -56,6 +56,7 @@
 .Xr zip_source_filep_create 3 ,
 .Xr zip_source_function 3 ,
 .Xr zip_source_function_create 3 ,
+.Xr zip_source_window 3 ,
 or
 .Xr zip_source_zip 3 .
 .Vt zip_source_t
@@ -80,6 +81,7 @@
 .Xr zip_source_filep 3 ,
 .Xr zip_source_free 3 ,
 .Xr zip_source_function 3 ,
+.Xr zip_source_window 3 ,
 .Xr zip_source_zip 3
 .Sh AUTHORS
 .An -nosplit
diff --git a/man/zip_source_window.html b/man/zip_source_window.html
new file mode 100644
index 0000000..0ed31a2
--- /dev/null
+++ b/man/zip_source_window.html
@@ -0,0 +1,123 @@
+<!DOCTYPE html>
+<html>
+<!-- This is an automatically generated file.  Do not edit.
+   zip_source_window.mdoc -- create zip data source overlay
+   Copyright (C) 2021 Dieter Baron and Thomas Klausner
+  
+   This file is part of libzip, a library to manipulate ZIP archives.
+   The authors can be contacted at <libzip@nih.at>
+  
+   Redistribution and use in source and binary forms, with or without
+   modification, are permitted provided that the following conditions
+   are met:
+   1. Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+   2. Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in
+      the documentation and/or other materials provided with the
+      distribution.
+   3. The names of the authors may not be used to endorse or promote
+      products derived from this software without specific prior
+      written permission.
+  
+   THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
+   OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+   ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
+   DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+   GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+   IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+   OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+   IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+   -->
+<head>
+  <meta charset="utf-8"/>
+  <link rel="stylesheet" href="../nih-man.css" type="text/css" media="all"/>
+  <title>ZIP_SOURCE_WINDOW(3)</title>
+</head>
+<body>
+<table class="head">
+  <tr>
+    <td class="head-ltitle">ZIP_SOURCE_WINDOW(3)</td>
+    <td class="head-vol">Library Functions Manual</td>
+    <td class="head-rtitle">ZIP_SOURCE_WINDOW(3)</td>
+  </tr>
+</table>
+<div class="manual-text">
+<section class="Sh">
+<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<code class="Nm">zip_source_window_create</code> &#x2014;
+<div class="Nd">create zip data source overlay</div>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1>
+libzip (-lzip)
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<code class="In">#include &lt;<a class="In">zip.h</a>&gt;</code>
+<p class="Pp"><var class="Ft">zip_source_t *</var>
+  <br/>
+  <code class="Fn">zip_source_window_create</code>(<var class="Fa" style="white-space: nowrap;">zip_source_t
+    *source</var>, <var class="Fa" style="white-space: nowrap;">zip_uint64_t
+    start</var>, <var class="Fa" style="white-space: nowrap;">zip_int64_t
+    len</var>, <var class="Fa" style="white-space: nowrap;">zip_error_t
+    *error</var>);</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+The <code class="Fn">zip_source_window_create</code>() function create a zip
+  source from an underlying zip source, restricting access to a particular
+  window starting a byte <var class="Ar">start</var> and having size
+  <var class="Ar">len</var>. A size <var class="Ar">len</var> of -1 means
+  &quot;until end of file&quot;.
+</section>
+<section class="Sh">
+<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
+  VALUES</a></h1>
+Upon successful completion, the created source is returned. Otherwise,
+  <code class="Dv">NULL</code> is returned and the error code in
+  <var class="Ar">error</var> is set to indicate the error.
+</section>
+<section class="Sh">
+<h1 class="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
+<code class="Fn">zip_source_window_create</code>() fails if:
+<dl class="Bl-tag">
+  <dt>[<a class="permalink" href="#ZIP_ER_INVAL"><code class="Er" id="ZIP_ER_INVAL">ZIP_ER_INVAL</code></a>]</dt>
+  <dd><var class="Ar">src</var> is <code class="Dv">NULL</code>; there is an
+      integer overflow adding <var class="Ar">start</var> and
+      <var class="Ar">len</var>; or <var class="Ar">len</var> is less than
+    -1.</dd>
+  <dt>[<a class="permalink" href="#ZIP_ER_MEMORY"><code class="Er" id="ZIP_ER_MEMORY">ZIP_ER_MEMORY</code></a>]</dt>
+  <dd>Required memory could not be allocated.</dd>
+</dl>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
+  ALSO</a></h1>
+<a class="Xr" href="libzip.html">libzip(3)</a>,
+  <a class="Xr" href="zip_source.html">zip_source(3)</a>
+  <a class="Xr" href="zip_source.html">zip_source(3)</a>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<code class="Fn">zip_source_window_create</code>() was added in libzip 1.8.0.
+</section>
+<section class="Sh">
+<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
+<span class="An">Dieter Baron</span>
+  &lt;<a class="Mt" href="mailto:dillo@nih.at">dillo@nih.at</a>&gt; and
+  <span class="An">Thomas Klausner</span>
+  &lt;<a class="Mt" href="mailto:tk@giga.or.at">tk@giga.or.at</a>&gt;
+</section>
+</div>
+<table class="foot">
+  <tr>
+    <td class="foot-date">April 29, 2021</td>
+    <td class="foot-os">NiH</td>
+  </tr>
+</table>
+</body>
+</html>
diff --git a/man/zip_source_window.man b/man/zip_source_window.man
new file mode 100644
index 0000000..d480fc1
--- /dev/null
+++ b/man/zip_source_window.man
@@ -0,0 +1,96 @@
+.\" Automatically generated from an mdoc input file.  Do not edit.
+.\" zip_source_window.mdoc -- create zip data source overlay
+.\" Copyright (C) 2021 Dieter Baron and Thomas Klausner
+.\"
+.\" This file is part of libzip, a library to manipulate ZIP archives.
+.\" The authors can be contacted at <libzip@nih.at>
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in
+.\"    the documentation and/or other materials provided with the
+.\"    distribution.
+.\" 3. The names of the authors may not be used to endorse or promote
+.\"    products derived from this software without specific prior
+.\"    written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
+.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
+.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\"
+.TH "ZIP_SOURCE_WINDOW" "3" "April 29, 2021" "NiH" "Library Functions Manual"
+.nh
+.if n .ad l
+.SH "NAME"
+\fBzip_source_window_create\fR
+\- create zip data source overlay
+.SH "LIBRARY"
+libzip (-lzip)
+.SH "SYNOPSIS"
+\fB#include <zip.h>\fR
+.sp
+\fIzip_source_t *\fR
+.br
+.PD 0
+.HP 4n
+\fBzip_source_window_create\fR(\fIzip_source_t\ *source\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR, \fIzip_error_t\ *error\fR);
+.PD
+.SH "DESCRIPTION"
+The
+\fBzip_source_window_create\fR()
+function create a zip source from an underlying zip source,
+restricting access to a particular window starting a byte
+\fIstart\fR
+and having size
+\fIlen\fR.
+A size
+\fIlen\fR
+of \-1 means "until end of file".
+.SH "RETURN VALUES"
+Upon successful completion, the created source is returned.
+Otherwise,
+\fRNULL\fR
+is returned and the error code in
+\fIerror\fR
+is set to indicate the error.
+.SH "ERRORS"
+\fBzip_source_window_create\fR()
+fails if:
+.TP 19n
+[\fRZIP_ER_INVAL\fR]
+\fIsrc\fR
+is
+\fRNULL\fR;
+there is an integer overflow adding
+\fIstart\fR
+and
+\fIlen\fR;
+or
+\fIlen\fR
+is less than \-1.
+.TP 19n
+[\fRZIP_ER_MEMORY\fR]
+Required memory could not be allocated.
+.SH "SEE ALSO"
+libzip(3),
+zip_source(3)
+zip_source(3)
+.SH "HISTORY"
+\fBzip_source_window_create\fR()
+was added in libzip 1.8.0.
+.SH "AUTHORS"
+Dieter Baron <\fIdillo@nih.at\fR>
+and
+Thomas Klausner <\fItk@giga.or.at\fR>
diff --git a/man/zip_source_window.mdoc b/man/zip_source_window.mdoc
new file mode 100644
index 0000000..6684ced
--- /dev/null
+++ b/man/zip_source_window.mdoc
@@ -0,0 +1,91 @@
+.\" zip_source_window.mdoc -- create zip data source overlay
+.\" Copyright (C) 2021 Dieter Baron and Thomas Klausner
+.\"
+.\" This file is part of libzip, a library to manipulate ZIP archives.
+.\" The authors can be contacted at <libzip@nih.at>
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in
+.\"    the documentation and/or other materials provided with the
+.\"    distribution.
+.\" 3. The names of the authors may not be used to endorse or promote
+.\"    products derived from this software without specific prior
+.\"    written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
+.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
+.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\"
+.Dd April 29, 2021
+.Dt ZIP_SOURCE_WINDOW 3
+.Os
+.Sh NAME
+.Nm zip_source_window_create
+.Nd create zip data source overlay
+.Sh LIBRARY
+libzip (-lzip)
+.Sh SYNOPSIS
+.In zip.h
+.Ft zip_source_t *
+.Fn zip_source_window_create "zip_source_t *source" "zip_uint64_t start" "zip_int64_t len" "zip_error_t *error"
+.Sh DESCRIPTION
+The
+.Fn zip_source_window_create
+function create a zip source from an underlying zip source,
+restricting access to a particular window starting a byte
+.Ar start
+and having size
+.Ar len .
+A size
+.Ar len
+of \-1 means "until end of file".
+.Sh RETURN VALUES
+Upon successful completion, the created source is returned.
+Otherwise,
+.Dv NULL
+is returned and the error code in
+.Ar error
+is set to indicate the error.
+.Sh ERRORS
+.Fn zip_source_window_create
+fails if:
+.Bl -tag -width Er
+.It Bq Er ZIP_ER_INVAL
+.Ar src
+is
+.Dv NULL ;
+there is an integer overflow adding
+.Ar start
+and
+.Ar len ;
+or
+.Ar len
+is less than \-1.
+.It Bq Er ZIP_ER_MEMORY
+Required memory could not be allocated.
+.El
+.Sh SEE ALSO
+.Xr libzip 3 ,
+.Xr zip_source 3
+.Xr zip_source 3
+.Sh HISTORY
+.Fn zip_source_window_create
+was added in libzip 1.8.0.
+.Sh AUTHORS
+.An -nosplit
+.An Dieter Baron Aq Mt dillo@nih.at
+and
+.An Thomas Klausner Aq Mt tk@giga.or.at
diff --git a/man/zip_source_zip.html b/man/zip_source_zip.html
index f504372..5e3579a 100644
--- a/man/zip_source_zip.html
+++ b/man/zip_source_zip.html
@@ -48,7 +48,8 @@
 <div class="manual-text">
 <section class="Sh">
 <h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
-<code class="Nm">zip_source_zip</code> &#x2014;
+<code class="Nm">zip_source_zip</code>,
+  <code class="Nm">zip_source_zip_create</code> &#x2014;
 <div class="Nd">create data source from zip file</div>
 </section>
 <section class="Sh">
@@ -67,11 +68,21 @@
     flags</var>, <var class="Fa" style="white-space: nowrap;">zip_uint64_t
     start</var>, <var class="Fa" style="white-space: nowrap;">zip_int64_t
     len</var>);</p>
+<p class="Pp"><var class="Ft">zip_source_t *</var>
+  <br/>
+  <code class="Fn">zip_source_zip_create</code>(<var class="Fa" style="white-space: nowrap;">zip_t
+    *srcarchive</var>, <var class="Fa" style="white-space: nowrap;">zip_uint64_t
+    srcidx</var>, <var class="Fa" style="white-space: nowrap;">zip_flags_t
+    flags</var>, <var class="Fa" style="white-space: nowrap;">zip_uint64_t
+    start</var>, <var class="Fa" style="white-space: nowrap;">zip_int64_t
+    len</var>, <var class="Fa" style="white-space: nowrap;">zip_error_t
+    *error</var>);</p>
 </section>
 <section class="Sh">
 <h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-The function <code class="Fn">zip_source_zip</code>() creates a zip source from
-  a file in a zip archive. The <var class="Ar">srcarchive</var> argument is the
+The functions <code class="Fn">zip_source_zip</code>() and
+  <code class="Fn">zip_source_zip_create</code>() create a zip source from a
+  file in a zip archive. The <var class="Ar">srcarchive</var> argument is the
   (open) zip archive containing the source zip file at index
   <var class="Ar">srcidx</var>. <var class="Ar">len</var> bytes from offset
   <var class="Ar">start</var> will be used in the zip_source. If
@@ -94,11 +105,13 @@
   VALUES</a></h1>
 Upon successful completion, the created source is returned. Otherwise,
   <code class="Dv">NULL</code> is returned and the error code in
-  <var class="Ar">archive</var> is set to indicate the error.
+  <var class="Ar">archive</var> or <var class="Ar">error</var> is set to
+  indicate the error.
 </section>
 <section class="Sh">
 <h1 class="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
-<code class="Fn">zip_source_zip</code>() fails if:
+<code class="Fn">zip_source_zip</code>() and
+  <code class="Fn">zip_source_zip_create</code>() fail if:
 <dl class="Bl-tag">
   <dt>[<a class="permalink" href="#ZIP_ER_CHANGED"><code class="Er" id="ZIP_ER_CHANGED">ZIP_ER_CHANGED</code></a>]</dt>
   <dd>Unchanged data was requested, but it is not available.</dd>
@@ -124,6 +137,7 @@
 <section class="Sh">
 <h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
 <code class="Fn">zip_source_zip</code>() was added in libzip 1.0.
+  <code class="Fn">zip_source_zip_create</code>() was added in libzip 1.8.0.
 </section>
 <section class="Sh">
 <h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
@@ -135,7 +149,7 @@
 </div>
 <table class="foot">
   <tr>
-    <td class="foot-date">December 18, 2017</td>
+    <td class="foot-date">April 4, 2021</td>
     <td class="foot-os">NiH</td>
   </tr>
 </table>
diff --git a/man/zip_source_zip.man b/man/zip_source_zip.man
index 4a74025..c77108d 100644
--- a/man/zip_source_zip.man
+++ b/man/zip_source_zip.man
@@ -30,11 +30,12 @@
 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
 .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.TH "ZIP_SOURCE_ZIP" "3" "December 18, 2017" "NiH" "Library Functions Manual"
+.TH "ZIP_SOURCE_ZIP" "3" "April 4, 2021" "NiH" "Library Functions Manual"
 .nh
 .if n .ad l
 .SH "NAME"
-\fBzip_source_zip\fR
+\fBzip_source_zip\fR,
+\fBzip_source_zip_create\fR
 \- create data source from zip file
 .SH "LIBRARY"
 libzip (-lzip)
@@ -47,10 +48,19 @@
 .HP 4n
 \fBzip_source_zip\fR(\fIzip_t\ *archive\fR, \fIzip_t\ *srcarchive\fR, \fIzip_uint64_t\ srcidx\fR, \fIzip_flags_t\ flags\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR);
 .PD
+.PP
+\fIzip_source_t *\fR
+.br
+.PD 0
+.HP 4n
+\fBzip_source_zip_create\fR(\fIzip_t\ *srcarchive\fR, \fIzip_uint64_t\ srcidx\fR, \fIzip_flags_t\ flags\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR, \fIzip_error_t\ *error\fR);
+.PD
 .SH "DESCRIPTION"
-The function
+The functions
 \fBzip_source_zip\fR()
-creates a zip source from a file in a zip archive.
+and
+\fBzip_source_zip_create\fR()
+create a zip source from a file in a zip archive.
 The
 \fIsrcarchive\fR
 argument is the (open) zip archive containing the source zip file
@@ -90,10 +100,14 @@
 \fRNULL\fR
 is returned and the error code in
 \fIarchive\fR
+or
+\fIerror\fR
 is set to indicate the error.
 .SH "ERRORS"
 \fBzip_source_zip\fR()
-fails if:
+and
+\fBzip_source_zip_create\fR()
+fail if:
 .TP 19n
 [\fRZIP_ER_CHANGED\fR]
 Unchanged data was requested, but it is not available.
@@ -123,6 +137,8 @@
 .SH "HISTORY"
 \fBzip_source_zip\fR()
 was added in libzip 1.0.
+\fBzip_source_zip_create\fR()
+was added in libzip 1.8.0.
 .SH "AUTHORS"
 Dieter Baron <\fIdillo@nih.at\fR>
 and