1zzip_readdir(3) zziplib Function List zzip_readdir(3)
2
3
4
6 zzip_readdir - read dir.
7
9 #include <zzip/lib.h>
10
11
12 ZZIP_DIRENT *
13 zzip_readdir(ZZIP_DIR * dir)
14
15
16
17
19 The zzip_readdir function is the equivalent of a readdir(2) for a
20 realdir or a zipfile referenced by the ZZIP_DIR returned from
21 zzip_opendir.
22
23 The ZZIP_DIR handle (as returned by zzip_opendir) contains a few more
24 entries than being copied into the ZZIP_DIRENT. The only valid fields
25 in a ZZIP_DIRENT are d_name (the file name), d_compr (compression),
26 d_csize (compressed size), st_size (uncompressed size).
27
28
29
31 Guido Draheim <guidod@gmx.de>
32
33
34
36 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
37
38
39
40
41
42zziplib 0.13.72 zzip_readdir(3)