1ZZIP_DIR_STAT(3) zziplib Function List ZZIP_DIR_STAT(3)
2
3
4
6 zzip_dir_stat, zzip_file_stat, zzip_fstat - ...
7
9 #include <zzip/lib.h>
10
11 int
12 zzip_dir_stat((ZZIP_DIR * dir, zzip_char_t* name, ZZIP_STAT * zs, int flags));
13
14 int zzip_file_stat((ZZIP_FILE* file, ZZIP_STAT* zs));
15
16 int zzip_fstat((ZZIP_FILE* file, ZZIP_STAT* zs));
17
19 The zzip_file_stat function will obtain information about a opened file
20 _within_ a zip-archive. The file is supposed to be open (otherwise -1
21 is returned). The st_size stat-member contains the uncompressed size.
22 The optional d_name is never set here.
23
24 The zzip_fstat function will obtain information about a opened file
25 which may be either real/zipped. The file is supposed to be open
26 (otherwise -1 is returned). The st_size stat-member contains the
27 uncompressed size. The optional d_name is never set here. For a real
28 file, we do set the d_csize := st_size and d_compr := 0 for meaningful
29 defaults.
30
32 ยท Guido Draheim <guidod@gmx.de> Tomi Ollila <Tomi.Ollila@iki.fi>
33
35 Copyright (c) 1999,2000,2001,2002 Guido Draheim All rights reserved,
36 use under the restrictions of the Lesser GNU General Public License or
37 alternatively the restrictions of the Mozilla Public License 1.1
38
39
40
41zziplib 0.13.49 ZZIP_DIR_STAT(3)