ZIP_ERROR_SYSTEM_TYPE(3)
π ZIP_ERROR_SYSTEM_TYPE π
okay bestie, gather round, because we're diving into libzip's manual pages and honestly? it's giving β¨main character energyβ¨. this one lives in the Library Functions Manual and it's all about peeking at why a system error is being so dramatic. let's go π¦
πΈ NAME πΈ
zip_error_system_type β return type of system error
like, it literally tells you what flavor of system error you're dealing with. no cap.
π LIBRARY π
libzip (-lzip)
that's the one you link against, bestie. don't forget the -lzip or the linker will simply pass away π
β¨ SYNOPSIS β¨
#include <zip.h>
int
zip_error_system_type(const zip_error_t *ze);
so you gotta pull in <zip.h> first, and then this lil function takes one pointer to a zip_error_t and hands you back an int. that's it. that's the whole vibe π«Ά
π DESCRIPTION π
okay so zip_error_system_type() returns the type of the system specific part for the zip_error ze. basically it's asking: "hey, what's going on with the system-y half of this error?" π
currently, the following system types are defined β and these are the only ones, periodt:
ZIP_ET_NONEβ the system specific part ofzeis unused. it's just sitting there, unbothered, moisturized, in its lane πZIP_ET_SYSβ the system specific part ofzeis anerrno(2). classic system error behavior, honestly iconic.ZIP_ET_ZLIBβ the system specific part ofzeis azlib(3)error. zlib said "I'll handle this one" π
so yeah, three possibilities. pick your fighter. π
π₯ SEE ALSO π₯
go read these too, bestie, they're the friends of this page and they ate fr fr π
β HISTORY β
zip_error_system_type() was added in libzip 1.0. so it's been around for a minute β a true veteran of the libzip cinematic universe π
π¦ AUTHORS π¦
Dieter Baron <dillo@nih.at> and Thomas Klausner <wiz@gatalith.at>
two absolute legends. we stan. π«Ά
and that's the whole page, bestie! this one shipped with Debian on December 18, 2017 β so if you were out here living your life that winter, this page was already doing its thing. slay π β¨π
π¦ 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) 2014-2017 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