ZIP_SOURCE_MAKE_COMMAND_BITMAP(3)
π zip_source_make_command_bitmap(3) π
okay bestie, welcome to the manual page for zip_source_make_command_bitmap(3) β yes that's the whole name, she's long but she's worth it. sit down, grab a strawberry π, and let's get into it.
π LIBRARY
libzip β link her with -lzip and you're golden, no cap.
β¨ SYNOPSIS β¨
#include <zip.h>
zip_int64_t
zip_source_make_command_bitmap(zip_source_cmd_t command, ...);
π DESCRIPTION π
so the way that zip_source_make_command_bitmap() works is genuinely iconic. she returns a bitmap of source commands β and that bitmap is literally designed to be handed back as the return value for ZIP_SOURCE_SUPPORTS. like, that's her whole job, and she ate. π
and which commands end up in that bitmap? all the commands from the argument list. every single one you pass in. but β and this is the important part, don't skip it β that argument list must be terminated by -1. the -1 is the little "that's all, bestie, we're done here" signal. forget it and things get weird. don't forget it. π«Ά
π SEE ALSO
go read those too, they're the supporting cast and they understood the assignment. πΈ
π HISTORY
zip_source_make_command_bitmap() was added in libzip 1.0. she's been serving since day one, periodt. β¨
π AUTHORS
- Dieter Baron
<dillo@nih.at> - Thomas Klausner
<wiz@gatalith.at>
absolute legends, both of them. bow down. πββοΈ
and that's the whole page, bestie!! this one came to you via Debian, dated December 18, 20, and it's the ZIP_SOURCE_MAKE_COMMAND_BITMAP(3) page you just read, so now you know exactly which page you were on the whole time. go forth and build those bitmaps, i'm obsessed with you. πβ¨π¦
π¦ 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