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

__zzip_fetch_disk_trailer - internal.

#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)


The __zzip_fetch_disk_trailer function is used by zzip_file_open. It tries to find the zip's central directory info that is usually a few bytes off the end of the file.


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


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

0.13.72 zziplib