ZIP_ERROR_CLEAR(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_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 ✨🌈