Skip to content

zip_error_system_type(3)

Name

zip_error_system_typereturn type of system error

Library

libzip (-lzip)

Synopsis

#include <zip.h>

int
zip_error_system_type(const zip_error_t *ze);

Description

The zip_error_system_type() function returns the type of the system specific part for the zip_error ze. Currently, the following system types are defined:

ZIP_ET_NONE
System specific part of ze is unused.
ZIP_ET_SYS
System specific part of ze is an errno(2).
ZIP_ET_ZLIB
System specific part of ze is a zlib(3) error.

See Also

libzip(3), zip_error_code_system(3)

History

zip_error_system_type() was added in libzip 1.0.

Authors

Dieter Baron <dillo@nih.at> and Thomas Klausner <wiz@gatalith.at>