zzip_dir_fdopen(3)

NAME
zzip_dir_fdopen, zzip_dir_fdopen_ext_io - fd reopen.

SYNOPSIS

#include <zzip/lib.h>

b'ZZIP_DIR *\fInzzip_dir_fdopen(int fd, zzip_error_t * errcode_p)
b'ZZIP_DIR *\fInzzip_dir_fdopen_ext_io(int fd, zzip_error_t * errcode_p,                      zzip_strings_t * ext, const zzip_plugin_io_t io)n'

DESCRIPTION
b" The zzip_dir_fdopen function is used by the zzip_dir_open and zzip_opendir(2) call. Opens the zip-archive as specified with the fd which points to analready openend file. The zzip_dir_fdopen function then search and parsethe zip's central directory.

b'NOTE: refcount is zero, so an _open/_close pair will also deletethis _dirhandlen'

b' the zzip_dir_fdopen_ext_io function uses explicit ext and io instead of the internaldefaults, setting these to zero is equivalent to zzip_dir_fdopenn

AUTHOR
b'Guido Draheim <guidod@gmx.de>Tomi Ollila <too@iki.fi>

COPYRIGHT
b'Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)n'