Poster of Linux kernelThe best gift for a Linux geek
ZIP_ERROR_GET

ZIP_ERROR_GET

Section: C Library Functions (3) Updated: October 4, 2006
Local index Up
 

NAME

zip_error_get , - .Nm zip_file_error_get get error codes for archive or file  

LIBRARY

libzip (-lzip)  

SYNOPSIS

#include <zip.h>

void zip_error_get(struct zip *archive, int *zep, int *sep);

void zip_file_error_get(struct zip_file *file, int *zep, int *sep);  

DESCRIPTION

The zip_error_get function returns the error codes for the zip archive archive. If zep is not NULL, *zep will be filled in with the error code from libzip. Similarly, *sep will contain the corresponding system error code, if sep is not NULL; use zip_error_get_sys_type to determine the type of system error code.

The zip_file_error_get function does the same for the zip file file.  

SEE ALSO

libzip(3), zip_error_clear(3), zip_error_get_sys_type(3), zip_error_to_str(3)  

AUTHORS

Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHORS

This document was created by man2html, using the manual pages.
Time: 21:59:25 GMT, April 16, 2011