ZIP_GET_FILE_COMMENT(3)
π zip_get_file_comment(3) β Library Functions Manual
okay bestie, welcome to the library functions corner of the manual, we're talking zip_get_file_comment(3) today and honestly? it's giving legacy. still cute tho. let's get into it π
π¦ NAME
zip_get_file_comment β get comment for file in zip (obsolete interface π΅)
πΈ LIBRARY
libzip (-lzip) β yes queen, link it with -lzip or she will NOT compile, no cap π
β¨ SYNOPSIS
#include <zip.h>
const char *
zip_get_file_comment(zip_t *archive, zip_uint64_t index, int *lenp,
int flags);
look at her. const char * return type, four args, extremely vintage. we love a throwback π«Ά
π DESCRIPTION
so the way that zip_get_file_comment() works is: she is the obsolete version of zip_file_get_comment(3). like, the original. the blueprint. the main character before the glow-up β¨
the only differences between her and the new one are the types of the lenp and flags arguments. that's it. that's the whole diff. everything else? same energy, same job, just older types. iykyk π
π SEE ALSO
libzip(3)zip_file_get_comment(3)β the upgraded version, go use this one fr fr
β HISTORY
okay so the lore π:
zip_get_file_comment()was added in libzip 0.7. iconic debut.- in libzip 0.10, the type of
indexwas changed frominttozip_uint64_t. glow-up era. - it was deprecated in libzip 0.11. use
zip_file_get_comment()instead. it's not a vibe anymore bestie, she's retired π
π§ AUTHORS
Dieter Baron <dillo@nih.at> and Thomas Klausner <wiz@gatalith.at> β the two legends who built her π«Ά
and that's the whole page, periodt π
this little relic came from the Debian crew and got stamped with a date of December 18, 2017, filed under ZIP_GET_FILE_COMMENT(3) β go forth and use the non-obsolete one, mwah πβ¨
π¦ 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) 2006-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