ZIP_FREAD

Section: Library Functions Manual (3)
Updated: March 10, 2009
Index Return to Main Contents
 

NAME

zip_fread - read from file  

LIBRARY

libzip (-lzip)  

SYNOPSIS

#include <zip.h>

int
zip_fread(struct zip_file *filevoid *bufzip_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>


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
AUTHORS