Imported Upstream version 0.10.1
[platform/upstream/libzip.git] / man / zip_errors.mdoc
1 .\" zip_errors.mdoc -- list of all libzip error codes
2 .\" Copyright (C) 2004, 2005 Dieter Baron and Thomas Klausner
3 .\"
4 .\" This file is part of libzip, a library to manipulate ZIP archives.
5 .\" The authors can be contacted at <libzip@nih.at>
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 .\"
32 .\"   This file was generated automatically by ./make_zip_errors.sh
33 .\"   from ./../lib/zip.h; make changes there.
34 .\"
35 .Dd March 10, 2009
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
48 .It Bq Er ZIP_ER_OK
49 No error.
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.
94 .It Bq Er ZIP_ER_DELETED
95 Entry has been deleted.
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.
104 .El
105 .Sh AUTHORS
106 .An -nosplit
107 .An Dieter Baron Aq dillo@giga.or.at
108 and
109 .An Thomas Klausner Aq tk@giga.or.at