zip_get_file_comment(3) - Linux man page
Name
zip_get_file_comment - get comment for file in zipLibrary
libzip (-lzip)Synopsis
#include <zip.h>const char * zip_get_file_comment(struct zip *archive, int index, int *lenp, int flags);
Description
Return Values
Upon successful completion, a pointer to the comment is returned, or NULL if there is no comment. In case of an error, NULL is returned and the error code in archive is set to indicate the error.Errors
zip_get_file_comment fails if:
- [ZIP_ER_INVAL]
- index is not a valid file index in archive.
See Also
libzip(3), zip_get_archive_comment(3)Authors
Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>