1ZIP_FREAD(3) Library Functions Manual ZIP_FREAD(3)
2
3
4
6 zip_fread - read from file
7
9 libzip (-lzip)
10
12 #include <zip.h>
13
14 int zip_fread(struct zip_file *file, void *buf, int nbytes);
15
17 The zip_fread function reads at most nbytes bytes from file into buf.
18
20 If successful, the number of bytes actually read is returned. Other‐
21 wise, -1 is returned.
22
24 libzip(3), zip_fclose(3), zip_fopen(3)
25
27 Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>
28
29
30
31NiH October 3, 2003 ZIP_FREAD(3)