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 ZZIP_DIR * zzip_dir_fdopen((int fd, zzip_error_t * errcode_p));
12
13 ZZIP_DIR *
14 zzip_dir_fdopen_ext_io((int fd, zzip_error_t * errcode_p, zzip_strings_t * ext, const zzip_plugin_io_t io));
15
17 The zzip_dir_fdopen function is used by the zzip_dir_open and
18 zzip_opendir(2) call. Opens the zip-archive as specified with the fd
19 which points to an already openend file. The zzip_dir_fdopen function
20 then search and parse the zip's central directory.
21
22 NOTE: refcount is zero, so an _open/_close pair will also delete this
23 _dirhandle
24
25 the zzip_dir_fdopen_ext_io function uses explicit ext and io instead of
26 the internal defaults, setting these to zero is equivalent to
27 zzip_dir_fdopen
28
30 ยท Guido Draheim <guidod@gmx.de> Tomi Ollila <too@iki.fi>
31
33 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
34
35
36
37zziplib 0.13.71 ZZIP_DIR_FDOPEN(3)