ZIP_ERROR_CLEAR(3)
β¨ ZIP_ERROR_CLEAR(3) β¨
okay bestie, so this one lives in section 3 of the manual (that's the ZIP_ERROR_CLEAR(3) page, for the library girlies) and it's literally the "reset the vibe" button for libzip error states π
π NAME π
zip_error_clear, zip_file_error_clear β clear the error state for an archive or a file π§Ήβ¨
π LIBRARY π
libzip (-lzip) β yes, link it, queen π
π SYNOPSIS π
#include <zip.h>
void
zip_error_clear(zip_t *archive);
void
zip_file_error_clear(zip_file_t *file);
πΈ DESCRIPTION πΈ
So here's the tea π: the zip_error_clear() function clears the error state for the zip archive archive. That's it. That's the whole job. No notes. π
And zip_file_error_clear()? It does the exact same thing, just for the zip file file. Twin energy fr fr π«Ά
π SEE ALSO π
π¦ HISTORY π¦
zip_error_clear() and zip_file_error_clear() were added in libzip 0.8 β so they've been iconic since way back, no cap β
π AUTHORS π
Dieter Baron <dillo@nih.at> and Thomas Klausner <wiz@gatalith.at> β the legends who wrote this, mwah π
and that's the page, bestie!! this cutie came from the Debian build of the manpage, dated December 18, 2017, and it's filed under ZIP_ERROR_CLEAR(3) π go forth and clear those errors β¨π
π¦ where this page comes from
- arch rolling: libzip 1.11.4-1 Β· BSD
- debian trixie: libzip-dev 1.11.3-2 Β· BSD-3-Clause
- fedora 43: libzip-devel 1.11.4-2.fc43 Β· BSD-3-Clause
- fedora 43: libzip-devel 1.11.4-2.fc43 Β· BSD-3-Clause
- fedora 44: libzip-devel 1.11.4-3.fc44 Β· BSD-3-Clause
- fedora 44: libzip-devel 1.11.4-3.fc44 Β· BSD-3-Clause
- nixpkgs unstable: libzip 1.11.4
- ubuntu questing: libzip-dev 1.11.3-2
- ubuntu resolute: libzip-dev 1.11.4-2 Β· BSD-3-Clause
- ubuntu stonking: libzip-dev 1.11.4-2build1 Β· BSD-3-Clause
- Copyright (C) 2006-2021 Dieter Baron and Thomas Klausner
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms