---
name: "__zzip_fetch_disk_trailer"
section: "3"
platform: "linux"
package: "libzzip-dev"
version: "0.13.78+dfsg.1-0.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/__zzip_fetch_disk_trailer"
---

# \_\_zzip\_fetch\_disk\_trailer(3)

internal.

## NAME

\_\_zzip\_fetch\_disk\_trailer -  internal.

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

## DESCRIPTION

 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.

## AUTHOR

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

## COPYRIGHT

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