1__zzip_try_open(3) zziplib Function List __zzip_try_open(3)
2
3
4
6 __zzip_try_open - internal.
7
9 #include <zzip/lib.h>
10
11
12 int
13 __zzip_try_open(zzip_char_t * filename, int filemode,
14 zzip_strings_t * ext, zzip_plugin_io_t io)
15
16
17
18
20 The __zzip_try_open function will attach any of the .zip extensions
21 then trying to open it the with open(2). This is a helper function for
22 zzip_dir_open, zzip_opendir and zzip_open.
23
24 The __zzip_try_open function returns a new system file handle or -1 on
25 error. On error the __zzip_try_open function leaves the errno(3) of the
26 underlying open(2) call on the last file.
27
28
29
31 Guido Draheim <guidod@gmx.de> Tomi Ollila <too@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_try_open(3)