zip_error_set(3)

zip_error_set3

Fill in zip_error structure

Usage

#include <zip.h>

void

zip_error_set(zip_error_t *ze, int le, int se);

Library

libzip (-lzip)

Overview

The zip_error_set() function sets the zip_error pointed to by ze to the libzip error code le and the system error code se.

ze must be allocated and initialized with zip_error_init(3) before calling zip_error_set().

Releases

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

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

History

zip_error_set() 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.