1ZZIP_DIRHANDLE(3)            zziplib Function List           ZZIP_DIRHANDLE(3)
2
3
4

NAME

6       zzip_dirhandle, zzip_dirfd - get handle.
7

SYNOPSIS

9       #include <zzip/lib.h>
10
11       ZZIP_DIR * zzip_dirhandle((ZZIP_FILE * fp));
12
13       int zzip_dirfd((ZZIP_DIR * dir));
14

DESCRIPTION

16       The zzip_dirhandle function will just return the fp->dir value.
17
18       If a ZZIP_FILE is contained within a zip-file that one will be a valid
19       pointer, otherwise a NULL is returned and the ZZIP_FILE wraps a real
20       file.
21
22       The zzip_dirfd function will just return dir->fd
23
24       If a ZZIP_DIR does point to a zipfile then the file-descriptor of that
25       zipfile is returned, otherwise a NULL is returned and the ZZIP_DIR
26       wraps a real directory DIR (if you have dirent on your system).
27

AUTHOR

29       ยท   Guido Draheim <guidod@gmx.de>
30
32       Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
33
34
35
36zziplib                             0.13.71                  ZZIP_DIRHANDLE(3)
Impressum