---
name: "zzip_fclose"
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_fclose"
---

# zzip\_fclose(3)

end usage.

## NAME

zzip\_fclose, zzip\_close -  end usage.

## SYNOPSIS

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

int
zzip_fclose(ZZIP_FILE* fp)
int
zzip_close(ZZIP_FILE* fp)
```

## DESCRIPTION

 The *zzip\_fclose* function closes the given ZZIP\_FILE handle.

 If the ZZIP\_FILE wraps a normal stat'fd then it is just that int'fd that is being closed and the otherwise empty ZZIP\_FILE gets freed.

## AUTHOR

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

## COPYRIGHT

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