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

NAME

6       zip_file_strerror  , - .Nm zip_strerror get string representation for a
7       zip error
8

LIBRARY

10       libzip (-lzip)
11

SYNOPSIS

13       #include <zip.h>
14
15       const char * zip_file_strerror(struct zip_file *file);
16
17       const char * zip_strerror(struct zip *archive);
18

DESCRIPTION

20       The zip_strerror function returns a string describing  the  last  error
21       for  the zip archive archive, while the zip_file_strerror function does
22       the same for a zip file file (one file in an  archive).   The  returned
23       string  must not be modified or freed, and becomes invalid when archive
24       or file, respectively, is closed or on the next call to zip_strerror or
25       zip_file_strerror, respectively, for the same archive.
26

RETURN VALUES

28       zip_file_strerror  and  zip_strerror  return  a  pointer  to  the error
29       string.
30

SEE ALSO

32       libzip(3), zip_error_to_str(3)
33

AUTHORS

35       Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>
36
37
38
39NiH                            December 27, 2004          ZIP_FILE_STRERROR(3)
Impressum