Logo Search packages:      
Sourcecode: calibre version File versions

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

Writes a given number of bytes to an open file.

file the file to write to
buffer the location where the written bytes should be read from
bytes the number of bytes to write to the file.
the number of bytes successfully written, this can be less than the number requested. Zero or less can indicate an error where no bytes at all could be written. All cases where less bytes were written than requested are considered by the library to be an error.
See also:
open(), read()

Generated by  Doxygen 1.6.0   Back to index