zip_fread man page

zip_fread — 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.

See Also

libzip(3), zip_fclose(3), zip_fopen(3)

Authors

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

Referenced By

libzip(3), zip_fclose(3), zip_fopen(3), zip_fopen_encrypted(3).

March 10, 2009 NiH Library Functions Manual