From a1a677886b843b7ced50cf7e959a0f753830cfe0 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Tue, 14 May 2024 09:55:37 +0200 Subject: [PATCH] Remove 'fname' from zip_source_win32handle(3). Closes #432. --- man/zip_source_win32handle.mdoc | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/man/zip_source_win32handle.mdoc b/man/zip_source_win32handle.mdoc index acef7dad1..c0c47b600 100644 --- a/man/zip_source_win32handle.mdoc +++ b/man/zip_source_win32handle.mdoc @@ -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 @@ -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 @@ -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 ,