1zzip_dir_fdopen(3) zziplib Function List zzip_dir_fdopen(3)
2
3
4
6 zzip_dir_fdopen, zzip_dir_fdopen_ext_io - fd reopen.
7
9 #include <zzip/lib.h>
10
11
12 ZZIP_DIR *
13 zzip_dir_fdopen(int fd, zzip_error_t * errcode_p)
14
15 ZZIP_DIR *
16 zzip_dir_fdopen_ext_io(int fd, zzip_error_t * errcode_p,
17 zzip_strings_t * ext, const zzip_plugin_io_t io)
18
19
20
21
23 The zzip_dir_fdopen function is used by the zzip_dir_open and
24 zzip_opendir(2) call. Opens the zip-archive as specified with the fd
25 which points to an already openend file. The zzip_dir_fdopen function
26 then search and parse the zip's central directory.
27
28 NOTE: refcount is zero, so an _open/_close pair will also delete this
29 _dirhandle
30
31 the zzip_dir_fdopen_ext_io function uses explicit ext and io instead
32 of the internal defaults, setting these to zero is equivalent to
33 zzip_dir_fdopen
34
35
36
38 Guido Draheim <guidod@gmx.de> Tomi Ollila <too@iki.fi>
39
40
41
43 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
44
45
46
47
48
49zziplib 0.13.72 zzip_dir_fdopen(3)