Thomas Klausner | c8cb998 | 2014-10-30 15:21:18 +0100 | [diff] [blame] | 1 | .\" zip_error_clear.mdoc -- clear error state for archive or file |
| 2 | .\" Copyright (C) 2006-2014 Dieter Baron and Thomas Klausner |
Thomas Klausner | 3806989 | 2006-10-04 18:31:09 +0000 | [diff] [blame] | 3 | .\" |
| 4 | .\" This file is part of libzip, a library to manipulate ZIP archives. |
Dieter Baron | b86c433 | 2007-11-07 14:35:13 +0100 | [diff] [blame] | 5 | .\" The authors can be contacted at <libzip@nih.at> |
Thomas Klausner | 3806989 | 2006-10-04 18:31:09 +0000 | [diff] [blame] | 6 | .\" |
| 7 | .\" Redistribution and use in source and binary forms, with or without |
| 8 | .\" modification, are permitted provided that the following conditions |
| 9 | .\" are met: |
| 10 | .\" 1. Redistributions of source code must retain the above copyright |
| 11 | .\" notice, this list of conditions and the following disclaimer. |
| 12 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| 13 | .\" notice, this list of conditions and the following disclaimer in |
| 14 | .\" the documentation and/or other materials provided with the |
| 15 | .\" distribution. |
| 16 | .\" 3. The names of the authors may not be used to endorse or promote |
| 17 | .\" products derived from this software without specific prior |
| 18 | .\" written permission. |
| 19 | .\" |
| 20 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS |
| 21 | .\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 22 | .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 23 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY |
| 24 | .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 25 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
| 26 | .\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 27 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER |
| 28 | .\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 29 | .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| 30 | .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 31 | .\" |
Thomas Klausner | c8cb998 | 2014-10-30 15:21:18 +0100 | [diff] [blame] | 32 | .Dd October 30, 2014 |
| 33 | .Dt ZIP_ERROR_CLEAR 3 |
Thomas Klausner | 3806989 | 2006-10-04 18:31:09 +0000 | [diff] [blame] | 34 | .Os |
| 35 | .Sh NAME |
| 36 | .Nm zip_error_clear , |
| 37 | .Nm zip_file_error_clear |
| 38 | .Nd clear error state for archive or file |
| 39 | .Sh LIBRARY |
| 40 | libzip (-lzip) |
| 41 | .Sh SYNOPSIS |
| 42 | .In zip.h |
| 43 | .Ft void |
Dieter Baron | 1d9dfeb | 2014-09-28 23:02:54 +0200 | [diff] [blame] | 44 | .Fn zip_error_clear "zip_t *archive" |
Thomas Klausner | 3806989 | 2006-10-04 18:31:09 +0000 | [diff] [blame] | 45 | .Ft void |
Dieter Baron | 1d9dfeb | 2014-09-28 23:02:54 +0200 | [diff] [blame] | 46 | .Fn zip_file_error_clear "zip_file_t *file" |
Thomas Klausner | 3806989 | 2006-10-04 18:31:09 +0000 | [diff] [blame] | 47 | .Sh DESCRIPTION |
| 48 | The |
| 49 | .Fn zip_error_clear |
| 50 | function clears the error state for the zip archive |
| 51 | .Ar archive . |
| 52 | .Pp |
| 53 | The |
| 54 | .Fn zip_file_error_clear |
| 55 | function does the same for the zip file |
| 56 | .Ar file . |
| 57 | .Sh SEE ALSO |
| 58 | .Xr libzip 3 , |
| 59 | .Xr zip_error_get 3 |
Thomas Klausner | 0f3bbd6 | 2017-12-18 17:39:22 +0100 | [diff] [blame^] | 60 | .Sh HISTORY |
| 61 | .Fn zip_error_clear |
| 62 | and |
| 63 | .Fn zip_file_error_clear |
| 64 | were added in libzip 0.8. |
Thomas Klausner | 3806989 | 2006-10-04 18:31:09 +0000 | [diff] [blame] | 65 | .Sh AUTHORS |
| 66 | .An -nosplit |
Thomas Klausner | 0acbab4 | 2013-07-28 23:29:08 +0200 | [diff] [blame] | 67 | .An Dieter Baron Aq Mt dillo@nih.at |
Thomas Klausner | 3806989 | 2006-10-04 18:31:09 +0000 | [diff] [blame] | 68 | and |
Thomas Klausner | 0acbab4 | 2013-07-28 23:29:08 +0200 | [diff] [blame] | 69 | .An Thomas Klausner Aq Mt tk@giga.or.at |