__zzip_fetch_disk_trailer(3)
β¨ __zzip_fetch_disk_trailer(3) β¨
okay bestie, welcome to the zziplib Function List manual, and today's main character is __zzip_fetch_disk_trailer π
she's internal, which basically means she's backstage crew and not here for the general public, iykyk π
πΈ NAME πΈ
__zzip_fetch_disk_trailer β internal. yeah that's literally it, that's the whole job description, she's an internal helper and she knows it π
π¦ SYNOPSIS π¦
#include <zzip/lib.h>
static int
__zzip_fetch_disk_trailer(int fd, zzip_off_t filesize, struct _disk_trailer* _zzip_restrict trailer,
zzip_plugin_io_t io)
so she's a static int function, she takes an int fd, a zzip_off_t filesize, a struct _disk_trailer* _zzip_restrict trailer, and a zzip_plugin_io_t io π and yeah, the _zzip_restrict on that trailer pointer is doing its little compiler-optimization vibe check, we respect it β¨
π DESCRIPTION π
okay so the way that __zzip_fetch_disk_trailer works is that she gets called up by zzip_file_open π she's the one who goes looking for the zip's central directory info, which is lowkey usually hanging out just a few bytes off the end of the file π«Ά
like, picture the end of a zip file and the central directory is basically standing a couple feet back from the edge going "hiii" β that's the whole hunt, that's the mission, no cap π
π AUTHOR π
- Guido Draheim
<guidod@gmx.de> - Tomi Ollila
<too@iki.fi>
two icons, two legends, we love to see it π
π COPYRIGHT π
Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL) β so go forth and share, bestie, just keep it copyleft, periodt β¨
and that's the whole page fr fr π¦ this was zziplib 0.13.78, __zzip_fetch_disk_trailer(3), signing off with main character energy ππ
mwah, go read the rest of the function list, 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