---
name: "zip_unchange_archive"
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_unchange_archive"
---

# zip\_unchange\_archive(3)

undo global changes to zip archive

## NAME

**zip\_unchange\_archive** – undo global changes to zip archive

## LIBRARY

libzip (-lzip)

## SYNOPSIS

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

*int*\

**zip\_unchange\_archive**(*zip\_t \*archive*);

## DESCRIPTION

Revert all global changes to the archive *archive*. This reverts changes to the archive comment and global flags.

## RETURN VALUES

Upon successful completion 0 is returned. Otherwise, -1 is returned and the error code in *archive* is set to indicate the error.

## SEE ALSO

[libzip(3)](/libzip/3.md), [zip\_unchange(3)](/zip_unchange/3.md), [zip\_unchange\_all(3)](/zip_unchange_all/3.md)

## HISTORY

**zip\_unchange\_archive**() was added in libzip 0.7.

## AUTHORS

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