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

zzip_closedir - stop usage.

#include <zzip/lib.h>



int
zzip_closedir(ZZIP_DIR * dir)


The zzip_closedir function is the equivalent of closedir(3) for a realdir or zipfile.


The zzip_closedir function is magic - if the given arg-ZZIP_DIR is a real directory, it will call the real closedir(3) and then free the wrapping ZZIP_DIR structure. Otherwise it will divert to zzip_dir_close which will free the ZZIP_DIR structure.


Guido Draheim <guidod@gmx.de>


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

0.13.72 zziplib