LIBRARY

libzip (-lzip)

SYNOPSIS

#include <zip.h>

void

zip_error_get(struct zip *archiveint *zepint *sep);

void

zip_file_error_get(struct zip_file *fileint *zepint *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.

RELATED TO zip_error_get…

AUTHORS

Dieter Baron <[email protected]> and Thomas Klausner <[email protected]>