read from file
*file, void *buf,
zip_fread() function reads at most nbytes bytes from file into buf.
zip_fread() was added in libzip 0.6. In libzip 0.10 the return type was changed from ssize_t to zip_int64_t. In libzip 0.10 the type of nbytes was changed from size_t to zip_uint64_t.