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 int
12 __zzip_try_open((zzip_char_t * filename, int filemode, zzip_strings_t * ext, zzip_plugin_io_t io));
13
15 The __zzip_try_open function will attach any of the .zip extensions
16 then trying to open it the with open(2). This is a helper function for
17 zzip_dir_open, zzip_opendir and zzip_open.
18
19 The __zzip_try_open function returns a new system file handle or -1 on
20 error. On error the __zzip_try_open function leaves the errno(3) of the
21 underlying open(2) call on the last file.
22
24 ยท Guido Draheim <guidod@gmx.de> Tomi Ollila <too@iki.fi>
25
27 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
28
29
30
31zziplib 0.13.71 __ZZIP_TRY_OPEN(3)