1zzip_dirhandle(3) zziplib Function List zzip_dirhandle(3)
2
3
4
6 zzip_dirhandle, zzip_dirfd - get handle.
7
9 #include <zzip/lib.h>
10
11
12 ZZIP_DIR *
13 zzip_dirhandle(ZZIP_FILE * fp)
14
15 int
16 zzip_dirfd(ZZIP_DIR * dir)
17
18
19
20
22 The zzip_dirhandle function will just return the fp->dir value.
23
24 If a ZZIP_FILE is contained within a zip-file that one will be a valid
25 pointer, otherwise a NULL is returned and the ZZIP_FILE wraps a real
26 file.
27
28 The zzip_dirfd function will just return dir->fd
29
30 If a ZZIP_DIR does point to a zipfile then the file-descriptor of that
31 zipfile is returned, otherwise a NULL is returned and the ZZIP_DIR
32 wraps a real directory DIR (if you have dirent on your system).
33
34
35
37 Guido Draheim <guidod@gmx.de>
38
39
40
42 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
43
44
45
46
47
48zziplib 0.13.72 zzip_dirhandle(3)