| .TH "ZIP_SET_ARCHIVE_COMMENT" "3" "July 22, 2012" "NiH" "Library Functions Manual" |
| \fBzip_set_archive_comment\fR |
| \- set zip archive comment |
| \fBzip_set_archive_comment\fR(\fIzip_t\ *archive\fR, \fIconst\ char\ *comment\fR, \fIzip_uint16_t\ len\fR); |
| \fBzip_set_archive_comment\fR() |
| function sets the comment for the entire zip archive. |
| is 0, the archive comment will be removed. |
| must be encoded in ASCII or UTF-8. |
| Upon successful completion 0 is returned. |
| Otherwise, \-1 is returned and the error information in |
| is set to indicate the error. |
| \fBzip_set_archive_comment\fR() |
| is less than 0 or longer than the maximum comment length in a zip file |
| is not a valid UTF-8 encoded string. |
| Required memory could not be allocated. |
| zip_get_archive_comment(3), |
| Dieter Baron <\fIdillo@nih.at\fR> |
| Thomas Klausner <\fItk@giga.or.at\fR> |