zzip_dir_free(3)
π zzip_dir_free β bestie edition π
okay so this is a page from the zziplib Function List, and we're talking about zzip_dir_free(3) and its little sibling zzip_dir_close. buckle up π
β¨ NAME β¨
zzip_dir_free, zzip_dir_close β the cleanup girlies π
(the original page leaves the description blank after the dash, so like⦠that's just the vibe, no cap)
πΈ SYNOPSIS πΈ
#include <zzip/lib.h>
int
zzip_dir_free(ZZIP_DIR* dir)
int
zzip_dir_close(ZZIP_DIR* dir)
π¦ DESCRIPTION π¦
so basically, the zzip_dir_free function will free the zzip_dir handle β but only unless there are still zzip_files attached that might be using its cache buffer. like, she's not gonna ghost her friends mid-hangout, bestie π
this is the inverse of zzip_dir_alloc, and honestly both of them are just helper functions that get used implicitly in other zzip calls. for example: zzip_dir_close = zzip_close. periodt β¨
it returns zero on success, and it returns the refcount when files are still attached.
it will also free(2) the ZZIP_DIR-handle that you gave it. the counterpart for zzip_dir_open β see also zzip_dir_free. iykyk π
π AUTHOR π
Guido Draheim <guidod@gmx.de> and Tomi Ollila <too@iki.fi> β icons, fr fr π«Ά
π COPYRIGHT π
Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL). slay, legally π
π SEE ALSO π
zzip_dir_alloc_ext_io
okay bestie, reminder: this whole thing is the zzip_dir_free(3) page from the zziplib Function List, zziplib 0.13.78 edition. that's the source, that's the version, and that's the whole page β no cap, you ate it, go free those handles responsibly πβ¨π
π¦ where this page comes from
- centos-stream 10: zziplib-devel 0.13.78-2.el10 Β· LGPL-2.0-or-later OR MPL-1.1
- debian trixie: libzzip-dev 0.13.78+dfsg.1-0.1 Β· ZZIP
- fedora 43: zziplib-devel 0.13.78-2.fc43 Β· LGPL-2.0-or-later OR MPL-1.1
- fedora 43: zziplib-devel 0.13.78-2.fc43 Β· LGPL-2.0-or-later OR MPL-1.1
- fedora 44: zziplib-devel 0.13.78-4.fc44 Β· LGPL-2.0-or-later OR MPL-1.1
- fedora 44: zziplib-devel 0.13.78-4.fc44 Β· LGPL-2.0-or-later OR MPL-1.1
- opensuse-leap 16.0: zziplib-devel 0.13.78-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: zziplib-devel 0.13.78-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: zziplib-devel 0.13.78-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: zziplib-devel 0.13.78-160000.2.2 Β· LGPL-2.1-or-later
- ubuntu questing: libzzip-dev 0.13.78+dfsg.1-0.1
- ubuntu resolute: libzzip-dev 0.13.78+dfsg.1-0.2 Β· ZZIP
- ubuntu stonking: libzzip-dev 0.13.78+dfsg.1-0.2 Β· ZZIP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms