__zzip_try_open(3)

__zzip_try_open3

Internal.

Usage

#include <zzip/lib.h>

int
__zzip_try_open(zzip_char_t* filename, int filemode, zzip_strings_t* ext, zzip_plugin_io_t io)

Overview

The __zzip_try_open function will attach any of the .zip extensions then trying to open it the with open(2). This is a helper function for zzip_dir_open, zzip_opendir and zzip_open.

The __zzip_try_open function returns a new system file handle or -1 on error. On error the __zzip_try_open function leaves the errno(3) of the underlying open(2) call on the last file.

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.