---
name: "zzip_error"
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_error"
---

# zzip\_error(3)

get errror status.

## NAME

zzip\_error, zzip\_seterror -  get errror status.

## SYNOPSIS

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

int
zzip_error(ZZIP_DIR* dir)
void
zzip_seterror(ZZIP_DIR* dir, int errcode)
```

## DESCRIPTION

 The *zzip\_error* function just returns dir-\>errcode of the ZZIP\_DIR handle see: *zzip\_dir\_open*, *zzip\_dir\_open*, *zzip\_readdir*, *zzip\_dir\_read*

 The *zzip\_seterror* function just does dir-\>errcode = errcode

## AUTHOR

 Guido Draheim \<guidod@gmx.de\>

## COPYRIGHT

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