1ZIP_ERROR_GET(3) Library Functions Manual ZIP_ERROR_GET(3)
2
3
4
6 zip_error_get , - .Nm zip_file_error_get get error codes for archive or
7 file
8
10 libzip (-lzip)
11
13 #include <zip.h>
14
15 void zip_error_get(struct zip *archive, int *zep, int *sep);
16
17 void zip_file_error_get(struct zip_file *file, int *zep, int *sep);
18
20 The zip_error_get function returns the error codes for the zip archive
21 archive. If zep is not NULL, *zep will be filled in with the error
22 code from libzip. Similarly, *sep will contain the corresponding sys‐
23 tem error code, if sep is not NULL; use zip_error_get_sys_type to
24 determine the type of system error code.
25
26 The zip_file_error_get function does the same for the zip file file.
27
29 libzip(3), zip_error_clear(3), zip_error_get_sys_type(3),
30 zip_error_to_str(3)
31
33 Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>
34
35
36
37NiH October 4, 2006 ZIP_ERROR_GET(3)