1ZIP_GET_ARCHIVE_COMMENT(3) Library Functions Manual ZIP_GET_ARCHIVE_COMMENT(3)
2
3
4

NAME

6       zip_get_archive_comment - get zip archive comment
7

LIBRARY

9       libzip (-lzip)
10

SYNOPSIS

12       #include <zip.h>
13
14       const  char  *  zip_get_archive_comment(struct zip *archive, int *lenp,
15       int flags);
16

DESCRIPTION

18       The zip_get_archive_comment function returns the comment for the entire
19       zip  archive.  This pointer should not be modified or free(3) Ap d.  If
20       lenp is not NULL, the integer to which it points will  be  set  to  the
21       length of the comment.  If flags is set to ZIP_FL_UNCHANGED, the origiā€
22       nal unchanged comment is returned.
23

RETURN VALUES

25       Upon successful completion, a pointer to the comment  is  returned,  or
26       NULL if there is no comment.
27

SEE ALSO

29       libzip(3), zip_get_file_comment(3)
30

AUTHORS

32       Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>
33
34
35
36NiH                             April 23, 2006      ZIP_GET_ARCHIVE_COMMENT(3)
Impressum