1ZIP_FILE_STRERROR(3) BSD Library Functions Manual ZIP_FILE_STRERROR(3)
2
4 zip_file_strerror, zip_strerror — get string representation for a zip er‐
5 ror
6
8 libzip (-lzip)
9
11 #include <zip.h>
12
13 const char *
14 zip_file_strerror(zip_file_t *file);
15
16 const char *
17 zip_strerror(zip_t *archive);
18
20 The zip_strerror() function returns a string describing the last error
21 for the zip archive archive, while the zip_file_strerror() function does
22 the same for a zip file file (one file in an archive). The returned
23 string must not be modified or freed, and becomes invalid when archive or
24 file, respectively, is closed or on the next call to zip_strerror() or
25 zip_file_strerror(), respectively, for the same archive.
26
28 zip_file_strerror() and zip_strerror() return a pointer to the error
29 string.
30
32 libzip(3), zip_error_strerror(3)
33
35 zip_file_strerror() and zip_strerror() were added in libzip 0.6.
36
38 Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
39
40BSD December 18, 2017 BSD