Back to Chromium

NAME

third_party/libzip/src/man/zip.html

152.0.7957.11.1 KB
Original Source

| ZIP(5) | File Formats Manual | ZIP(5) |

NAME

zip — zip archive structure

LIBRARY

libzip (-lzip)

SYNOPSIS

#include <zip.h>

zip_t *archive;

DESCRIPTION

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.

SEE ALSO

libzip(3), zip_close(3), zip_discard(3), zip_fopen(3), zip_open(3), zip_open_from_source(3)

AUTHORS

Dieter Baron <[email protected]> and Thomas Klausner <[email protected]>

| May 5, 2025 | NiH |