zzip_fclose(3)
π zzip_fclose β from the zziplib Function List, section 3 π
okay bestie, gather round, because this one is short but it is IMPORTANT π«Ά
β¨ NAME β¨
zzip_fclose, zzip_close β end usage. that's it. that's the whole vibe. you're done, you're closing the thing, you're logging off π
πΈ SYNOPSIS πΈ
#include <zzip/lib.h>
int
zzip_fclose(ZZIP_FILE* fp)
int
zzip_close(ZZIP_FILE* fp)
two functions, same energy, both handing you back an int. no cap π
π¦ DESCRIPTION π¦
so like, the zzip_fclose function closes the given ZZIP_FILE handle. that's the main character move here π
and here's the tea, the little plot twist that makes it make sense: if the ZZIP_FILE wraps a normal stat'fd, then it is just that int'fd that is being closed, and the otherwise empty ZZIP_FILE gets freed. so the wrapper's whole job was babysitting that fd and now it's empty and it's free to go, iconic honestly π
π AUTHOR π
Guido Draheim <guidod@gmx.de> Tomi Ollila <Tomi.Ollila@iki.fi>
two absolute legends, we stan π
π COPYRIGHT π
Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
like, share, remix, but keep it copyleft, bestie β¨
lowkey reminder: this is the end usage function. once you've called it, that handle is gone-gone. don't come for it again π
and that's the whole page, fr fr β brought to you by zziplib 0.13.78, zzip_fclose(3). go close your handles and hydrate, ily ππ§π
π¦ 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