zzip_dir_alloc_ext_io(3)
β¨ zzip_dir_alloc_ext_io(3) β¨
okay bestie, welcome to the zziplib Function List π this is the page for zzip_dir_alloc_ext_io β and also for its slightly old-school sibling zzip_dir_alloc. it's giving "start usage" energy, which is exactly what the NAME section says, so let's get into it π¦
π NAME
zzip_dir_alloc_ext_io, zzip_dir_alloc β start usage. periodt. π
πΈ SYNOPSIS
#include <zzip/lib.h>
ZZIP_DIR*
zzip_dir_alloc_ext_io(zzip_strings_t* ext, const zzip_plugin_io_t io)
ZZIP_DIR*
zzip_dir_alloc(zzip_strings_t* fileext)
π DESCRIPTION
so, the zzip_dir_alloc_ext_io function allocates a brand new ZZIP_DIR handle and does the basic initializations before you actually use it β by zzip_dir_fdopen, zzip_dir_open, zzip_file_open, or through zzip_open. it's the little pre-game ritual, you know? π§
quick notes on the args, no cap:
- if
extis null, the flags use{ ".zip" , ".ZIP" }β like, it just knows what you want π - if
iois null, the flags use the posix io defaults
and then there's zzip_dir_alloc, which is obsolete π β it was generally used for implementation and exported so other code could build on it. the glow-up advice is: use zzip_dir_alloc_ext_io explicitly now instead. just set that second argument to zero and you get the same functionality as the old style. iconic behaviour, honestly β¨
π AUTHOR
Guido Draheim <guidod@gmx.de> and Tomi Ollila <too@iki.fi> β the main characters who made this happen π«Ά
π COPYRIGHT
Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL).
π SEE ALSO
zzip_dir_freeβ yeah, you gotta free it, bestie, don't just leave it hanging π
and that's the whole vibe check, babes π this page is from zziplib 0.13.78 and it's literally called zzip_dir_alloc_ext_io(3) β go forth and allocate responsibly, mwah ππ
β¨
π¦ 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