---
name: "zip_error_code_system"
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_code_system"
---

# zip\_error\_code\_system(3)

get operating system error part of zip\_error

## NAME

**zip\_error\_code\_system** – get operating system error part of zip\_error

## LIBRARY

libzip (-lzip)

## SYNOPSIS

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

*int*\

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

## DESCRIPTION

The **zip\_error\_code\_system**() function returns the system specific part of the error from the zip\_error error *ze*. For finding out what system reported the error, use [zip\_error\_system\_type(3)](/zip_error_system_type/3.md).

## SEE ALSO

[libzip(3)](/libzip/3.md), [zip\_error\_code\_zip(3)](/zip_error_code_zip/3.md), [zip\_error\_system\_type(3)](/zip_error_system_type/3.md)

## HISTORY

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

## AUTHORS

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