Thomas Klausner | 39b5f9e | 2005-06-09 21:14:54 +0000 | [diff] [blame] | 1 | .\" $NiH: zip_fclose.mdoc,v 1.8 2005/06/09 21:13:12 wiz Exp $ |
Dieter Baron | 33aae77 | 2003-10-03 11:53:47 +0000 | [diff] [blame] | 2 | .\" |
| 3 | .\" zip_fclose.mdoc -- close file in zip archive |
Thomas Klausner | be31d74 | 2005-06-09 19:51:23 +0000 | [diff] [blame] | 4 | .\" Copyright (C) 2003, 2005 Dieter Baron and Thomas Klausner |
Dieter Baron | 33aae77 | 2003-10-03 11:53:47 +0000 | [diff] [blame] | 5 | .\" |
| 6 | .\" This file is part of libzip, a library to manipulate ZIP archives. |
| 7 | .\" The authors can be contacted at <nih@giga.or.at> |
| 8 | .\" |
| 9 | .\" Redistribution and use in source and binary forms, with or without |
| 10 | .\" modification, are permitted provided that the following conditions |
| 11 | .\" are met: |
| 12 | .\" 1. Redistributions of source code must retain the above copyright |
| 13 | .\" notice, this list of conditions and the following disclaimer. |
| 14 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| 15 | .\" notice, this list of conditions and the following disclaimer in |
| 16 | .\" the documentation and/or other materials provided with the |
| 17 | .\" distribution. |
| 18 | .\" 3. The names of the authors may not be used to endorse or promote |
| 19 | .\" products derived from this software without specific prior |
| 20 | .\" written permission. |
| 21 | .\" |
| 22 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS |
| 23 | .\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 24 | .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 25 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY |
| 26 | .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 27 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
| 28 | .\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 29 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER |
| 30 | .\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 31 | .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| 32 | .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 33 | .\" |
| 34 | .Dd October 3, 2003 |
| 35 | .Dt ZIP_FCLOSE 3 |
| 36 | .Os |
| 37 | .Sh NAME |
| 38 | .Nm zip_fclose |
| 39 | .Nd close file in zip archive |
| 40 | .Sh LIBRARY |
Dieter Baron | ff551f1 | 2003-10-03 12:04:09 +0000 | [diff] [blame] | 41 | libzip (-lzip) |
Dieter Baron | 33aae77 | 2003-10-03 11:53:47 +0000 | [diff] [blame] | 42 | .Sh SYNOPSIS |
| 43 | .In zip.h |
| 44 | .Ft int |
| 45 | .Fn zip_fclose "struct zip_file *file" |
| 46 | .Sh DESCRIPTION |
| 47 | The |
| 48 | .Fn zip_fclose |
| 49 | function closes |
| 50 | .Ar file |
| 51 | and frees the memory allocated for it. |
| 52 | .Sh RETURN VALUES |
| 53 | Upon successful completion 0 is returned. |
Thomas Klausner | 1431a4c | 2004-11-30 22:26:56 +0000 | [diff] [blame] | 54 | Otherwise, the error code is returned. |
Dieter Baron | 33aae77 | 2003-10-03 11:53:47 +0000 | [diff] [blame] | 55 | .Sh SEE ALSO |
Thomas Klausner | bec1cfe | 2005-06-09 18:50:27 +0000 | [diff] [blame] | 56 | .Xr libzip 3 , |
Dieter Baron | 33aae77 | 2003-10-03 11:53:47 +0000 | [diff] [blame] | 57 | .Xr zip_fopen 3 , |
Thomas Klausner | 6769afc | 2003-10-03 23:40:00 +0000 | [diff] [blame] | 58 | .Xr zip_fread 3 |
Thomas Klausner | a456cf5 | 2005-06-09 21:13:13 +0000 | [diff] [blame] | 59 | .Sh AUTHORS |
| 60 | .An -nosplit |
| 61 | .An Dieter Baron Aq dillo@giga.or.at |
Thomas Klausner | 39b5f9e | 2005-06-09 21:14:54 +0000 | [diff] [blame] | 62 | and |
Thomas Klausner | a456cf5 | 2005-06-09 21:13:13 +0000 | [diff] [blame] | 63 | .An Thomas Klausner Aq tk@giga.or.at |