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

zzip_file_close - end usage.

#include <zzip/lib.h>



int
zzip_file_close(ZZIP_FILE * fp)


The zzip_file_close function is the direct call of zzip_close(fp). It will cleanup the inflate-portion of zlib and free the structure given.


it is called quite from the error-cleanup parts of the various _open functions.


the .refcount is decreased and if zero the fp->dir is closed just as well.


Guido Draheim <guidod@gmx.de> Tomi Ollila <Tomi.Ollila@iki.fi>


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

0.13.72 zziplib