ZIP_SOURCE_ERROR(3)

πŸ“¦
version 1.11.4 Β· 3 versions
, in arch rolling, debian trixie, fedora 43, fedora 44, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– ZIP_SOURCE_ERROR(3) πŸ’–

okay bestie, so this is a page from the Library Functions Manual and we're talking about zip_source_error β€” the little function that spills the tea on what went wrong with your data source. it's short, it's sweet, it's giving "tiny function, huge main character energy". let's go 🌸


✨ NAME ✨

zip_source_error β€” get zip error for data source πŸ‘‘


πŸ“š LIBRARY πŸ“š

libzip (-lzip)

yes babe, that's the -lzip flag when you link. don't forget it or the linker will simply perish 😭

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <zip.h>

zip_error_t *
zip_source_error(zip_source_t *source);

πŸ’… DESCRIPTION πŸ’…

so like, the zip_source_error() function returns the zip error for the data source source. that's it. that's the whole thing. you hand it your source, it hands you back a zip_error_t * telling you what's up with it. iconic behaviour honestly πŸŽ€


πŸ‘€ SEE ALSO πŸ‘€


🌈 HISTORY 🌈

zip_source_error() was added in libzip 1.0. so it's been around since the beginning, a true OG fr fr πŸ’œ


🫢 AUTHORS 🫢

Dieter Baron <dillo@nih.at> and Thomas Klausner <wiz@gatalith.at> β€” the two legends who made this happen. absolute icons, no cap ✨


aaaand that's the whole page bestie, you ate that. this lil manual came from Debian and it's dated December 18, 2017, so give it a lil birthday shoutout, mwah πŸ’‹πŸŒΈπŸ¦‹