1ZZIP_DIR_FDOPEN(3) zziplib Function List ZZIP_DIR_FDOPEN(3)
2
3
4
6 zzip_dir_fdopen, zzip_dir_fdopen_ext_io -
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 used by the zzip_dir_open and zzip_opendir(2) call. Opens the
18 zip-archive as specified with the fd which points to an already openend
19 file. The zzip_dir_fdopen function then search and parse the zip´s
20 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) 1999,2000,2001,2002,2003 Guido Draheim All rights
34 reserved, use under the restrictions of the Lesser GNU General Public
35 License or alternatively the restrictions of the Mozilla Public License
36 1.1
37
38
39
40zziplib 0.13.49 ZZIP_DIR_FDOPEN(3)