1zzip_file_open(3) zziplib Function List zzip_file_open(3)
2
3
4
6 zzip_file_open - start usage.
7
9 #include <zzip/lib.h>
10
11
12 ZZIP_FILE *
13 zzip_file_open(ZZIP_DIR * dir, zzip_char_t * name, int o_mode)
14
15
16
17
19 The zzip_file_open function opens an ZZIP_FILE from an already open
20 ZZIP_DIR handle. Since we have a chance to reuse a cached buf32k and
21 ZZIP_FILE memchunk this is the best choice to unpack multiple files.
22
23 Note: the zlib supports 2..15 bit windowsize, hence we provide a 32k
24 memchunk here... just to be safe.
25
26 On error it returns null and sets errcode in the ZZIP_DIR.
27
28
29
31 Guido Draheim <guidod@gmx.de> Tomi Ollila <Tomi.Ollila@iki.fi>
32
33
34
36 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
37
38
39
40
41
42zziplib 0.13.72 zzip_file_open(3)