zzip_file_open(3)

zzip_file_open3

Start usage.

Usage

#include <zzip/lib.h>

ZZIP_FILE*
zzip_file_open(ZZIP_DIR* dir, zzip_char_t* name, int o_mode)

Overview

The zzip_file_open function opens an ZZIP_FILE from an already open ZZIP_DIR handle. Since we have a chance to reuse a cached buf32k and ZZIP_FILE memchunk this is the best choice to unpack multiple files.

Note: the zlib supports 2..15 bit windowsize, hence we provide a 32k memchunk here... just to be safe.

On error it returns null and sets errcode in the ZZIP_DIR.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 6 times.

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

Author

Guido Draheim <[email protected]> Tomi Ollila <[email protected]>

From libzzip-dev 0.13.78+dfsg.1-0.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.