ZIP_SOURCE_IS_DELETED(3)

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

πŸ’– ZIP_SOURCE_IS_DELETED(3) πŸ’–

okay bestie, welcome to the Library Functions Manual for zip_source_is_deleted, and no cap this one is short but it's lowkey important 🫢


✨ NAME ✨

zip_source_is_deleted β€” check if a zip_source is deleted πŸ‘€


πŸŽ€ LIBRARY πŸŽ€

libzip (-lzip) β€” link it and you're golden, fr fr


🌸 SYNOPSIS 🌸

#include <zip.h>

int
zip_source_is_deleted(zip_source_t *source);

πŸ¦‹ DESCRIPTION πŸ¦‹

so the function zip_source_is_deleted() literally just returns whether the zip_source was deleted. that's it, that's the whole vibe πŸ’…

and when does a source get deleted, you ask? it can for example happen when all entries are removed from a zip archive. so yeah, when everything's gone, the source is giving deleted energy 😭


⭐ RETURN VALUES ⭐

  • zip_source_is_deleted() returns 1 if the zip_source is deleted πŸ’€
  • and 0 otherwise 🌈

so it's a yes/no, 1/0, deleted/not-deleted situation. simple. iconic. periodt.


πŸ‘‘ SEE ALSO πŸ‘‘


πŸ”₯ HISTORY πŸ”₯

zip_source_is_deleted() was added in libzip 1.0. so it's been serving since the early days, we love a veteran 🫢


πŸ’œ AUTHORS πŸ’œ

Dieter Baron <dillo@nih.at> and Thomas Klausner <wiz@gatalith.at> β€” absolute legends, we thank them for their service πŸŽ€


and that's a wrap bestie!! this page came from the Debian build, dated December 18, 2017, and it's the ZIP_SOURCE_IS_DELETED(3) manual β€” go check your sources and slay βœ¨πŸ’…

πŸ“¦ where this page comes from