1ZZIP_OPENDIR(3) zziplib Function List ZZIP_OPENDIR(3)
2
3
4
6 zzip_opendir, zzip_opendir_ext_io - start usage.
7
9 #include <zzip/lib.h>
10
11 ZZIP_DIR * zzip_opendir((zzip_char_t * filename));
12
13 ZZIP_DIR *
14 zzip_opendir_ext_io((zzip_char_t * filename, int o_modes, zzip_strings_t * ext, zzip_plugin_io_t io));
15
17 The zzip_opendir function is the equivalent of opendir(3) for a realdir
18 or zipfile.
19
20 The zzip_opendir function has some magic - if the given argument-path
21 is a directory, it will wrap a real opendir(3) into the ZZIP_DIR
22 structure. Otherwise it will divert to zzip_dir_open which can also
23 attach a ".zip" extension if needed to find the archive.
24
25 the error-code is mapped to errno(3).
26
27 The zzip_opendir_ext_io function uses explicit ext and io instead of
28 the internal defaults, setting them to zero is equivalent to
29 zzip_opendir
30
32 ยท Guido Draheim <guidod@gmx.de>
33
35 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
36
37
38
39zziplib 0.13.71 ZZIP_OPENDIR(3)