ZIP_SOURCE_KEEP(3)
β¨ ZIP_SOURCE_KEEP β¨
okay bestie, so we're in zip_source_keep(3) territory β this one lives in the Library Functions Manual for libzip, and it is genuinely one of the most lowkey important little functions in the whole crew. no cap. π
πΈ NAME πΈ
zip_source_keep β increment the reference count of a zip data source π
π¦ LIBRARY π¦
libzip (-lzip) β yeah that's the one, link against it, you got this π
β SYNOPSIS β
#include <zip.h>
void
zip_source_keep(zip_source_t *source);
π DESCRIPTION π
so the way that zip_source_keep() works is... it increments the reference count of source. that's it. that's the whole vibe. β¨
like, if you're about to hand your source off to something else and you don't want it evaporating on you, you bump that refcount so it stays alive. iconic behaviour, honestly. π
π SEE ALSO π
π HISTORY π
zip_source_keep() was added in libzip 1.0. so she's been here since the beginning, a true OG fr fr. π«Ά
π AUTHORS π
Dieter Baron <dillo@nih.at> and Thomas Klausner <wiz@gatalith.at> β the two icons who made this happen, we stan π
and that's the whole page bestie, no more lore, go bump some refcounts responsibly πΈ
Debian Β· December 18, 2017 Β· ZIP_SOURCE_KEEP(3) β mwah, that's a wrap, love u, bye π
β¨
π¦ where this page comes from
- arch rolling: libzip 1.11.4-1 Β· BSD
- 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 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