ZIP_ERROR_GET
Section: C Library Functions (3)
Index
Return to Main Contents
BSD mandoc
NAME
zip_error_get
zip_file_error_get
- get error codes for archive or file (obsolete interface)
LIBRARY
libzip (-lzip)
SYNOPSIS
In zip.h
Ft void
Fn zip_error_get zip_t *archive int *zep int *sep
Ft void
Fn zip_file_error_get zip_file_t *file int *zep int *sep
DESCRIPTION
The functions
Fn zip_error_get
and
Fn zip_file_error_get
are deprecated.
Use
zip_error_code_system3,
zip_error_code_zip3,
zip_file_get_error3,
and
zip_get_error3
instead.
For
Fn zip_error_get ,
replace
int ze, se;
zip_error_get(za, &ze, &se);
with
int ze, se;
zip_error_t *error = zip_get_error(za);
ze = zip_error_code_zip(error);
se = zip_error_code_system(error);
For
Fn zip_file_error_get ,
replace
int ze, se;
zip_file_error_get(zf, &ze, &se);
with
int ze, se;
zip_error_t *error = zip_file_get_error(zf);
ze = zip_error_code_zip(error);
se = zip_error_code_system(error);
SEE ALSO
libzip(3),
zip_error_code_system3,
zip_error_code_zip3,
zip_file_get_error3,
zip_get_error3
HISTORY
Fn zip_error_get
was added in libzip 0.6.
It was deprecated in libzip 1.0, use
Fn zip_get_error ,
Fn zip_error_code_zip ,
/
Fn zip_error_code_system
instead.
Fn zip_file_error_get
was added in libzip 0.6.
It was deprecated in libzip 1.0, use
Fn zip_file_get_error ,
Fn zip_error_code_zip ,
/
Fn zip_error_code_system
instead.
AUTHORS
An -nosplit
An Dieter Baron Aq Mt dillo@nih.at
and
An Thomas Klausner Aq Mt tk@giga.or.at
Index
- NAME
-
- LIBRARY
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- HISTORY
-
- AUTHORS
-
This document was created by
man2html,
using the manual pages.
Time: 08:04:06 GMT, May 18, 2024