DOKK / manpages / debian 12 / libzzip-dev / zzip_readdir.3.en
zzip_readdir(3) zziplib Function List zzip_readdir(3)

zzip_readdir - read dir.

#include <zzip/lib.h>



ZZIP_DIRENT *
zzip_readdir(ZZIP_DIR * dir)


The zzip_readdir function is the equivalent of a readdir(2) for a realdir or a zipfile referenced by the ZZIP_DIR returned from zzip_opendir.


The ZZIP_DIR handle (as returned by zzip_opendir) contains a few more entries than being copied into the ZZIP_DIRENT. The only valid fields in a ZZIP_DIRENT are d_name (the file name), d_compr (compression), d_csize (compressed size), st_size (uncompressed size).


Guido Draheim <guidod@gmx.de>


Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)

0.13.72 zziplib