1ZIP_FREAD(3)               Library Functions Manual               ZIP_FREAD(3)
2
3
4

NAME

6       zip_fread - read from file
7

LIBRARY

9       libzip (-lzip)
10

SYNOPSIS

12       #include <zip.h>
13
14       int zip_fread(struct zip_file *file, void *buf, int nbytes);
15

DESCRIPTION

17       The zip_fread function reads at most nbytes bytes from file into buf.
18

RETURN VALUES

20       If  successful,  the number of bytes actually read is returned.  Other‐
21       wise, -1 is returned.
22

SEE ALSO

24       libzip(3), zip_fclose(3), zip_fopen(3)
25

AUTHORS

27       Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>
28
29
30
31NiH                             October 3, 2003                   ZIP_FREAD(3)
Impressum