1ZIP_ERROR_GET_SYS_TYP... BSD Library Functions Manual ZIP_ERROR_GET_SYS_TYP...
2
4 zip_error_get_sys_type — get type of system error code (obsolete inter‐
5 face)
6
8 libzip (-lzip)
9
11 #include <zip.h>
12
13 int
14 zip_error_get_sys_type(int ze);
15
17 The function zip_error_get_sys_type() is deprecated; use
18 zip_error_init_with_code(3) and zip_error_system_type(3) instead.
19
20 Replace
21
22 int i = zip_error_get_sys_type(ze);
23 with
24
25 zip_error_t error;
26 zip_error_init_with_code(&error, ze);
27 int i = zip_error_system_type(&error);
28
30 libzip(3), zip_error_init_with_code(3), zip_error_system_type(3)
31
33 zip_error_get_sys_type() was added in libzip 0.6. It was deprecated in
34 libzip 1.0, use zip_error_system_type() instead.
35
37 Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
38
39BSD December 18, 2017 BSD