zip_fread(3) - Linux man page

Name

zip_fread - read from file

Library

libzip (-lzip)

Synopsis

#include <zip.h>

int zip_fread(struct zip_file *file, void *buf, int 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@giga.or.at> and Thomas Klausner <tk@giga.or.at>