blob: 499e201c1de1a4ce0d1482a426e863f7887decc4 [file] [log] [blame]
Thomas Klausnere14f6262004-12-22 16:20:00 +00001.\" zip_errors.mdoc -- list of all libzip error codes
Dieter Baronc8f428f2005-01-20 21:14:27 +00002.\" Copyright (C) 2004, 2005 Dieter Baron and Thomas Klausner
Thomas Klausnere14f6262004-12-22 16:20:00 +00003.\"
4.\" This file is part of libzip, a library to manipulate ZIP archives.
Dieter Baronb86c4332007-11-07 14:35:13 +01005.\" The authors can be contacted at <libzip@nih.at>
Thomas Klausnere14f6262004-12-22 16:20:00 +00006.\"
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 Baronb82aa5a2004-12-26 14:21:38 +000020.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
Thomas Klausnere14f6262004-12-22 16:20:00 +000021.\" 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 Baron500a2552004-12-22 17:04:13 +000032.\" This file was generated automatically by ./make_zip_errors.sh
33.\" from ./../lib/zip.h; make changes there.
Dieter Baron500a2552004-12-22 17:04:13 +000034.\"
Dieter Baroncb1379d2009-03-10 14:46:51 +010035.Dd March 10, 2009
Thomas Klausnere14f6262004-12-22 16:20:00 +000036.Dt ZIP_ERRORS 3
37.Os
38.Sh NAME
39.Nm zip_errors
40.Nd list of all libzip error codes
41.Sh LIBRARY
42libzip (-lzip)
43.Sh SYNOPSIS
44.In zip.h
45.Sh DESCRIPTION
46The following error codes are used by libzip:
47.Bl -tag -width XZIPXERXCOMPNOTSUPPXX
Dieter Baron500a2552004-12-22 17:04:13 +000048.It Bq Er ZIP_ER_OK
Thomas Klausnere14f6262004-12-22 16:20:00 +000049No error.
Dieter Baron500a2552004-12-22 17:04:13 +000050.It Bq Er ZIP_ER_MULTIDISK
51Multi-disk zip archives not supported.
52.It Bq Er ZIP_ER_RENAME
53Renaming temporary file failed.
54.It Bq Er ZIP_ER_CLOSE
55Closing zip archive failed.
56.It Bq Er ZIP_ER_SEEK
57Seek error.
58.It Bq Er ZIP_ER_READ
59Read error.
60.It Bq Er ZIP_ER_WRITE
61Write error.
62.It Bq Er ZIP_ER_CRC
63CRC error.
64.It Bq Er ZIP_ER_ZIPCLOSED
65Containing zip archive was closed.
66.It Bq Er ZIP_ER_NOENT
67No such file.
68.It Bq Er ZIP_ER_EXISTS
69File already exists.
70.It Bq Er ZIP_ER_OPEN
71Can't open file.
72.It Bq Er ZIP_ER_TMPOPEN
73Failure to create temporary file.
74.It Bq Er ZIP_ER_ZLIB
75Zlib error.
76.It Bq Er ZIP_ER_MEMORY
77Malloc failure.
78.It Bq Er ZIP_ER_CHANGED
79Entry has been changed.
80.It Bq Er ZIP_ER_COMPNOTSUPP
81Compression method not supported.
82.It Bq Er ZIP_ER_EOF
83Premature EOF.
84.It Bq Er ZIP_ER_INVAL
85Invalid argument.
86.It Bq Er ZIP_ER_NOZIP
87Not a zip archive.
88.It Bq Er ZIP_ER_INTERNAL
89Internal error.
90.It Bq Er ZIP_ER_INCONS
91Zip archive inconsistent.
92.It Bq Er ZIP_ER_REMOVE
93Can't remove file.
Dieter Baronc8f428f2005-01-20 21:14:27 +000094.It Bq Er ZIP_ER_DELETED
95Entry has been deleted.
Dieter Baroncb1379d2009-03-10 14:46:51 +010096.It Bq Er ZIP_ER_ENCRNOTSUPP
97Encryption method not supported.
98.It Bq Er ZIP_ER_RDONLY
99Read-only archive.
100.It Bq Er ZIP_ER_NOPASSWD
101No password provided.
102.It Bq Er ZIP_ER_WRONGPASSWD
103Wrong password provided.
Thomas Klausnere14f6262004-12-22 16:20:00 +0000104.El
Thomas Klausnera456cf52005-06-09 21:13:13 +0000105.Sh AUTHORS
106.An -nosplit
Thomas Klausner0acbab42013-07-28 23:29:08 +0200107.An Dieter Baron Aq Mt dillo@nih.at
Thomas Klausner39b5f9e2005-06-09 21:14:54 +0000108and
Thomas Klausner0acbab42013-07-28 23:29:08 +0200109.An Thomas Klausner Aq Mt tk@giga.or.at