1zzip_opendir(3)              zziplib Function List             zzip_opendir(3)
2
3
4

NAME

6       zzip_opendir, zzip_opendir_ext_io -  start usage.
7

SYNOPSIS

9       #include <zzip/lib.h>
10
11
12       ZZIP_DIR *
13       zzip_opendir(zzip_char_t * filename)
14
15       ZZIP_DIR *
16       zzip_opendir_ext_io(zzip_char_t * filename, int o_modes,
17                           zzip_strings_t * ext, zzip_plugin_io_t io)
18
19
20
21

DESCRIPTION

23        The zzip_opendir function is the equivalent of opendir(3) for a
24       realdir or zipfile.
25
26        The zzip_opendir function has some magic - if the given argument-path
27       is a directory, it will wrap a real opendir(3) into the ZZIP_DIR
28       structure. Otherwise it will divert to zzip_dir_open which can also
29       attach a ".zip" extension if needed to find the archive.
30
31        the error-code is mapped to errno(3).
32
33        The zzip_opendir_ext_io function uses explicit ext and io instead of
34       the internal defaults, setting them to zero is equivalent to
35       zzip_opendir
36
37
38

AUTHOR

40        Guido Draheim <guidod@gmx.de>
41
42
43
45        Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
46
47
48
49
50
51zziplib                             0.13.72                    zzip_opendir(3)
Impressum