---
name: "__zzip_find_disk_trailer"
section: "3"
platform: "linux"
package: "libzzip-dev"
version: "0.12.83-8"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/__zzip_find_disk_trailer"
---

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

(../../zzip/zip.c)

## NAME

\_\_zzip\_find\_disk\_trailer - (../../zzip/zip.c)

## SYNOPSIS

 \#include \<zziplib.h\>

int **\_\_zzip\_find\_disk\_trailer** (int fd, zzip\_off\_t filesize, struct zzip\_disk\_trailer \* trailer, zzip\_plugin\_io\_t io);

## DESCRIPTION

The \_\_zzip\_find\_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

-

  ```
  (c) 1999,2000,2001,2002 Guido Draheim
             All rights reserved,
             use under the restrictions of the
             Lesser GNU General Public License
             note the additional license information
             that can be found in COPYING.ZZIP
  ```
