zip_error_system_type(3)

zip_error_system_type3

Return type of system error

Usage

#include <zip.h>

int

zip_error_system_type(const zip_error_t *ze);

Library

libzip (-lzip)

Overview

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.

Releases

6 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9
  2. 10–12
  3. 13–Arch

History

zip_error_system_type() was added in libzip 1.0.

Authors

Dieter Baron ⟨[email protected]⟩ and Thomas Klausner ⟨[email protected]⟩

From libzip 1.11.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.