Unix and Linux Discussions Tagged with comment |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
5 |
6,344 |
UNIX for Beginners Questions & Answers |
|
|
|
16 |
23,938 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
1,993 |
Shell Programming and Scripting |
|
|
|
1 |
3,629 |
Shell Programming and Scripting |
|
|
|
5 |
3,674 |
Shell Programming and Scripting |
|
|
|
2 |
2,954 |
Shell Programming and Scripting |
|
|
|
0 |
1,725 |
Shell Programming and Scripting |
|
|
|
2 |
18,533 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
1,815 |
Shell Programming and Scripting |
|
|
|
10 |
3,379 |
Shell Programming and Scripting |
|
|
|
4 |
10,496 |
Shell Programming and Scripting |
|
|
|
0 |
4,154 |
Cybersecurity |
|
|
|
0 |
1,647 |
Complex Event Processing RSS News |
|
|
|
2 |
3,808 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
1,902 |
Complex Event Processing RSS News |
|
|
|
0 |
2,238 |
Cartoons for Geeks |
|
|
|
3 |
5,562 |
Shell Programming and Scripting |
|
|
|
1 |
2,746 |
Shell Programming and Scripting |
|
|
|
9 |
18,369 |
Shell Programming and Scripting |
|
|
|
4 |
2,876 |
Shell Programming and Scripting |
|
|
|
9 |
27,030 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
24,705 |
Cybersecurity |
|
|
|
1 |
4,297 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
31,894 |
Programming |
|
|
|
1 |
3,668 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
15,177 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,231 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
12,295 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,806 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,060 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,072 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
8,028 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
6,228 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,772 |
UNIX for Dummies Questions & Answers |
ZIP_SET_ARCHIVE_COMMENT(3) Library Functions Manual ZIP_SET_ARCHIVE_COMMENT(3)
NAME
zip_set_archive_comment - set zip archive comment
LIBRARY
libzip (-lzip)
SYNOPSIS
#include <zip.h>
int zip_set_archive_comment(struct zip *archive); "const char *comment" "int len"
DESCRIPTION
The zip_set_archive_comment function sets the comment for the entire zip archive. If comment is NULL and len is 0, the archive comment
will be removed.
RETURN VALUES
Upon successful completion 0 is returned. Otherwise, -1 is returned and the error information in archive is set to indicate the error.
ERRORS
zip_set_archive_comment fails if:
[ZIP_ER_INVAL]
len is less than 0 or longer than the maximum comment length in a zip file (65535).
[ZIP_ER_MEMORY]
Required memory could not be allocated.
SEE ALSO
libzip(3), zip_get_archive_comment(3), zip_get_file_comment(3), zip_set_file_comment(3)
AUTHORS
Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>
NiH October 26, 2007 ZIP_SET_ARCHIVE_COMMENT(3)