Thomas Klausner | e14f626 | 2004-12-22 16:20:00 +0000 | [diff] [blame] | 1 | .\" zip_errors.mdoc -- list of all libzip error codes |
Dieter Baron | c8f428f | 2005-01-20 21:14:27 +0000 | [diff] [blame] | 2 | .\" Copyright (C) 2004, 2005 Dieter Baron and Thomas Klausner |
Thomas Klausner | e14f626 | 2004-12-22 16:20:00 +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 | e14f626 | 2004-12-22 16:20:00 +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 | .\" |
Dieter Baron | b82aa5a | 2004-12-26 14:21:38 +0000 | [diff] [blame] | 20 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS |
Thomas Klausner | e14f626 | 2004-12-22 16:20:00 +0000 | [diff] [blame] | 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 | .\" |
Dieter Baron | 500a255 | 2004-12-22 17:04:13 +0000 | [diff] [blame] | 32 | .\" This file was generated automatically by ./make_zip_errors.sh |
| 33 | .\" from ./../lib/zip.h; make changes there. |
Dieter Baron | 500a255 | 2004-12-22 17:04:13 +0000 | [diff] [blame] | 34 | .\" |
Dieter Baron | cb1379d | 2009-03-10 14:46:51 +0100 | [diff] [blame] | 35 | .Dd March 10, 2009 |
Thomas Klausner | e14f626 | 2004-12-22 16:20:00 +0000 | [diff] [blame] | 36 | .Dt ZIP_ERRORS 3 |
| 37 | .Os |
| 38 | .Sh NAME |
| 39 | .Nm zip_errors |
| 40 | .Nd list of all libzip error codes |
| 41 | .Sh LIBRARY |
| 42 | libzip (-lzip) |
| 43 | .Sh SYNOPSIS |
| 44 | .In zip.h |
| 45 | .Sh DESCRIPTION |
| 46 | The following error codes are used by libzip: |
| 47 | .Bl -tag -width XZIPXERXCOMPNOTSUPPXX |
Dieter Baron | 500a255 | 2004-12-22 17:04:13 +0000 | [diff] [blame] | 48 | .It Bq Er ZIP_ER_OK |
Thomas Klausner | e14f626 | 2004-12-22 16:20:00 +0000 | [diff] [blame] | 49 | No error. |
Dieter Baron | 500a255 | 2004-12-22 17:04:13 +0000 | [diff] [blame] | 50 | .It Bq Er ZIP_ER_MULTIDISK |
| 51 | Multi-disk zip archives not supported. |
| 52 | .It Bq Er ZIP_ER_RENAME |
| 53 | Renaming temporary file failed. |
| 54 | .It Bq Er ZIP_ER_CLOSE |
| 55 | Closing zip archive failed. |
| 56 | .It Bq Er ZIP_ER_SEEK |
| 57 | Seek error. |
| 58 | .It Bq Er ZIP_ER_READ |
| 59 | Read error. |
| 60 | .It Bq Er ZIP_ER_WRITE |
| 61 | Write error. |
| 62 | .It Bq Er ZIP_ER_CRC |
| 63 | CRC error. |
| 64 | .It Bq Er ZIP_ER_ZIPCLOSED |
| 65 | Containing zip archive was closed. |
| 66 | .It Bq Er ZIP_ER_NOENT |
| 67 | No such file. |
| 68 | .It Bq Er ZIP_ER_EXISTS |
| 69 | File already exists. |
| 70 | .It Bq Er ZIP_ER_OPEN |
| 71 | Can't open file. |
| 72 | .It Bq Er ZIP_ER_TMPOPEN |
| 73 | Failure to create temporary file. |
| 74 | .It Bq Er ZIP_ER_ZLIB |
| 75 | Zlib error. |
| 76 | .It Bq Er ZIP_ER_MEMORY |
| 77 | Malloc failure. |
| 78 | .It Bq Er ZIP_ER_CHANGED |
| 79 | Entry has been changed. |
| 80 | .It Bq Er ZIP_ER_COMPNOTSUPP |
| 81 | Compression method not supported. |
| 82 | .It Bq Er ZIP_ER_EOF |
| 83 | Premature EOF. |
| 84 | .It Bq Er ZIP_ER_INVAL |
| 85 | Invalid argument. |
| 86 | .It Bq Er ZIP_ER_NOZIP |
| 87 | Not a zip archive. |
| 88 | .It Bq Er ZIP_ER_INTERNAL |
| 89 | Internal error. |
| 90 | .It Bq Er ZIP_ER_INCONS |
| 91 | Zip archive inconsistent. |
| 92 | .It Bq Er ZIP_ER_REMOVE |
| 93 | Can't remove file. |
Dieter Baron | c8f428f | 2005-01-20 21:14:27 +0000 | [diff] [blame] | 94 | .It Bq Er ZIP_ER_DELETED |
| 95 | Entry has been deleted. |
Dieter Baron | cb1379d | 2009-03-10 14:46:51 +0100 | [diff] [blame] | 96 | .It Bq Er ZIP_ER_ENCRNOTSUPP |
| 97 | Encryption method not supported. |
| 98 | .It Bq Er ZIP_ER_RDONLY |
| 99 | Read-only archive. |
| 100 | .It Bq Er ZIP_ER_NOPASSWD |
| 101 | No password provided. |
| 102 | .It Bq Er ZIP_ER_WRONGPASSWD |
| 103 | Wrong password provided. |
Thomas Klausner | e14f626 | 2004-12-22 16:20:00 +0000 | [diff] [blame] | 104 | .El |
Thomas Klausner | a456cf5 | 2005-06-09 21:13:13 +0000 | [diff] [blame] | 105 | .Sh AUTHORS |
| 106 | .An -nosplit |
Thomas Klausner | 0acbab4 | 2013-07-28 23:29:08 +0200 | [diff] [blame] | 107 | .An Dieter Baron Aq Mt dillo@nih.at |
Thomas Klausner | 39b5f9e | 2005-06-09 21:14:54 +0000 | [diff] [blame] | 108 | and |
Thomas Klausner | 0acbab4 | 2013-07-28 23:29:08 +0200 | [diff] [blame] | 109 | .An Thomas Klausner Aq Mt tk@giga.or.at |