1ZIP_ERRORS(3) BSD Library Functions Manual ZIP_ERRORS(3)
2
4 zip_errors — list of all libzip error codes
5
7 libzip (-lzip)
8
10 #include <zip.h>
11
13 The following error codes are used by libzip:
14
15 [ZIP_ER_CHANGED] Entry has been changed.
16
17 [ZIP_ER_CLOSE] Closing zip archive failed.
18
19 [ZIP_ER_COMPNOTSUPP] Compression method not supported.
20
21 [ZIP_ER_COMPRESSED_DATA] Compressed data invalid.
22
23 [ZIP_ER_CRC] CRC error.
24
25 [ZIP_ER_DELETED] Entry has been deleted.
26
27 [ZIP_ER_ENCRNOTSUPP] Encryption method not supported.
28
29 [ZIP_ER_EOF] Premature end of file.
30
31 [ZIP_ER_EXISTS] File already exists.
32
33 [ZIP_ER_INCONS] Zip archive inconsistent.
34
35 [ZIP_ER_INTERNAL] Internal error.
36
37 [ZIP_ER_INUSE] Resource still in use.
38
39 [ZIP_ER_INVAL] Invalid argument.
40
41 [ZIP_ER_MEMORY] Malloc failure.
42
43 [ZIP_ER_MULTIDISK] Multi-disk zip archives not supported.
44
45 [ZIP_ER_NOENT] No such file.
46
47 [ZIP_ER_NOPASSWD] No password provided.
48
49 [ZIP_ER_NOZIP] Not a zip archive.
50
51 [ZIP_ER_OK] No error.
52
53 [ZIP_ER_OPEN] Can't open file.
54
55 [ZIP_ER_OPNOTSUPP] Operation not supported.
56
57 [ZIP_ER_RDONLY] Read-only archive.
58
59 [ZIP_ER_READ] Read error.
60
61 [ZIP_ER_REMOVE] Can't remove file.
62
63 [ZIP_ER_RENAME] Renaming temporary file failed.
64
65 [ZIP_ER_SEEK] Seek error.
66
67 [ZIP_ER_TELL] Tell error.
68
69 [ZIP_ER_TMPOPEN] Failure to create temporary file.
70
71 [ZIP_ER_WRITE] Write error.
72
73 [ZIP_ER_WRONGPASSWD] Wrong password provided.
74
75 [ZIP_ER_ZIPCLOSED] Containing zip archive was closed.
76
77 [ZIP_ER_ZLIB] Zlib error.
78
80 Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
81
82BSD December 18, 2017 BSD