1zzip_dir_free(3) zziplib Function List zzip_dir_free(3)
2
3
4
6 zzip_dir_free, zzip_dir_close -
7
9 #include <zzip/lib.h>
10
11
12 int
13 zzip_dir_free(ZZIP_DIR * dir)
14
15 int
16 zzip_dir_close(ZZIP_DIR * dir)
17
18
19
20
22 The zzip_dir_free function will free the zzip_dir handle unless there
23 are still zzip_files attached (that may use its cache buffer). This is
24 the inverse of zzip_dir_alloc , and both are helper functions used
25 implicitly in other zzipcalls e.g. zzip_dir_close = zzip_close
26
27 returns zero on success returns the refcount when files are attached.
28
29 It will also free(2) the ZZIP_DIR-handle given. the counterpart for
30 zzip_dir_open see also zzip_dir_free
31
32
33
35 Guido Draheim <guidod@gmx.de> Tomi Ollila <too@iki.fi>
36
37
38
40 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
41
42
43
45 zzip_dir_alloc_ext_io
46
47
48
49
50
51zziplib 0.13.72 zzip_dir_free(3)