Logo Search packages:      
Sourcecode: cabextract version File versions  Download package

int(* mspack_system::read)(struct mspack_file *file, void *buffer, int bytes)

Reads a given number of bytes from an open file.

Parameters:
file the file to read from
buffer the location where the read bytes should be stored
bytes the number of bytes to read from the file.
Returns:
the number of bytes successfully read (this can be less than the number requested), zero to mark the end of file, or less than zero to indicate an error.
See also:
open(), write()


Generated by  Doxygen 1.6.0   Back to index