zzip_opendir(3)

zzip_opendir3

Start usage.

Usage

#include <zzip/lib.h>

ZZIP_DIR*
zzip_opendir(zzip_char_t* filename)
ZZIP_DIR*
zzip_opendir_ext_io(zzip_char_t* filename, int o_modes, zzip_strings_t* ext, zzip_plugin_io_t io)

Overview

The zzip_opendir function is the equivalent of opendir(3) for a realdir or zipfile.

The zzip_opendir function has some magic - if the given argument-path is a directory, it will wrap a real opendir(3) into the ZZIP_DIR structure. Otherwise it will divert to zzip_dir_open which can also attach a ".zip" extension if needed to find the archive.

the error-code is mapped to errno(3).

The zzip_opendir_ext_io function uses explicit ext and io instead of the internal defaults, setting them to zero is equivalent to zzip_opendir

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]>

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