Skip to content

Commit

Permalink
Remove 'fname' from zip_source_win32handle(3).
Browse files Browse the repository at this point in the history
Closes #432.
  • Loading branch information
0-wiz-0 committed May 14, 2024
1 parent c9bfbb8 commit a1a6778
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions man/zip_source_win32handle.mdoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd December 18, 2017
.Dd May 14, 2024
.Dt ZIP_SOURCE_WIN32HANDLE 3
.Os
.Sh NAME
Expand All @@ -50,9 +50,7 @@ The functions
and
.Fn zip_source_win32handle_create
create a zip source from a Windows file handle.
They open
.Ar fname
and read
They read
.Ar len
bytes from offset
.Ar start
Expand Down Expand Up @@ -85,17 +83,13 @@ and
fail if:
.Bl -tag -width Er
.It Bq Er ZIP_ER_INVAL
.Ar fname ,
.Ar h ,
.Ar start ,
or
.Ar len
are invalid.
.It Bq Er ZIP_ER_MEMORY
Required memory could not be allocated.
.It Bq Er ZIP_ER_OPEN
Opening
.Ar fname
failed.
.El
.Sh SEE ALSO
.Xr libzip 3 ,
Expand Down

0 comments on commit a1a6778

Please sign in to comment.