1ZZIP_DIRHANDLE(3) zziplib Function List ZZIP_DIRHANDLE(3)
2
3
4
6 zzip_dirhandle, zzip_dirfd -
7
9 #include <zzip/lib.h>
10
11 ZZIP_DIR * zzip_dirhandle((ZZIP_FILE * fp));
12
13 int zzip_dirfd((ZZIP_DIR* dir));
14
16 The zzip_dirhandle function will just return fp->dir
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
29 ยท Guido Draheim <guidod@gmx.de>
30
32 Copyright (c) 2000,2001,2002,2003 Guido Draheim All rights reserved,
33 use under the restrictions of the Lesser GNU General Public License or
34 alternatively the restrictions of the Mozilla Public License 1.1
35
36
37
38zziplib 0.13.49 ZZIP_DIRHANDLE(3)