Scroll to navigation

ZIP_FCLOSE(3) Library Functions Manual ZIP_FCLOSE(3)

NAME

zip_fcloseclose file in zip archive

LIBRARY

libzip (-lzip)

SYNOPSIS

#include <zip.h>

int
zip_fclose(zip_file_t *file);

DESCRIPTION

The () function closes file and frees the memory allocated for it.

RETURN VALUES

Upon successful completion 0 is returned. Otherwise, the error code is returned.

SEE ALSO

libzip(3), zip_fopen(3), zip_fread(3), zip_fseek(3)

HISTORY

zip_fclose() was added in libzip 0.6.

AUTHORS

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

December 18, 2017 Debian