---
name: "zzip_file_close"
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_file_close"
---

# zzip\_file\_close(3)

end usage.

## NAME

zzip\_file\_close -  end usage.

## SYNOPSIS

```
#include <zzip/lib.h>

int
zzip_file_close(ZZIP_FILE* fp)
```

## DESCRIPTION

 The *zzip\_file\_close* function is the direct call of *zzip\_close(fp)*. It will cleanup the inflate-portion of *zlib* and free the structure given.

 it is called quite from the error-cleanup parts of the various *\_open* functions.

 the .refcount is decreased and if zero the fp-\>dir is closed just as well.

## AUTHOR

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

## COPYRIGHT

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