zip_fread(3) read from file

LIBRARY

libzip (-lzip)

SYNOPSIS

#include <zip.h>

zip_int64_t

zip_fread(zip_file_t *file, void *buf, zip_uint64_t nbytes);

DESCRIPTION

The zip_fread() function reads at most nbytes bytes from file into buf.

RETURN VALUES

If successful, the number of bytes actually read is returned. Otherwise, -1 is returned.

AUTHORS

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