---
name: "zip_error_system_type"
section: "3"
platform: "linux"
package: "libzip"
version: "1.11.4-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/zip_error_system_type"
---

# zip\_error\_system\_type(3)

return type of system error

## NAME

**zip\_error\_system\_type** – return type of system error

## LIBRARY

libzip (-lzip)

## SYNOPSIS

**#include \<zip.h\>**

*int*\

**zip\_error\_system\_type**(*const zip\_error\_t \*ze*);

## DESCRIPTION

The **zip\_error\_system\_type**() function returns the type of the system specific part for the zip\_error *ze*. Currently, the following system types are defined:

- ZIP\_ET\_NONE

  System specific part of *ze* is unused.

- ZIP\_ET\_SYS

  System specific part of *ze* is an [errno(2)](/errno/2.md).

- ZIP\_ET\_ZLIB

  System specific part of *ze* is a [zlib(3)](/zlib/3.md) error.

## SEE ALSO

[libzip(3)](/libzip/3.md), [zip\_error\_code\_system(3)](/zip_error_code_system/3.md)

## HISTORY

**zip\_error\_system\_type**() was added in libzip 1.0.

## AUTHORS

Dieter Baron ⟨*dillo@nih.at*⟩ and Thomas Klausner ⟨*wiz@gatalith.at*⟩
