zip_error_clear(3)

zip_error_clear3

Clear error state for archive or file

Usage

#include <zip.h>

void

zip_error_clear(zip_t *archive);

void

zip_file_error_clear(zip_file_t *file);

Library

libzip (-lzip)

Overview

The zip_error_clear() function clears the error state for the zip archive archive.

The zip_file_error_clear() function does the same for the zip file file.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 7 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–12
  8. 13–Arch

History

zip_error_clear() and zip_file_error_clear() were added in libzip 0.8.

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.