zip(5)

zip5

Zip archive structure

Usage

#include <zip.h>

zip_t *archive;

Library

libzip (-lzip)

Overview

A zip represents an open zip archive and is used for all functions accessing and modifying archives.

It is created with zip_open(3), zip_open_from_source(3), or zip_fdopen(3).

It is closed with zip_close(3) (keeping changes) or zip_discard(3) (discarding changes).

All objects representing parts of an archive (like zip_file_t) are only valid while the archive remains open.

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.