Xiqual 0.7.2

In file xitools/files.c:

size_t file_write

(autofile* af, size_t s)

Write from an autofile's buffer.

Documentation

Write from an autofile's buffer. Write s bytes to file from the autofile's buffer, or the size of the buffer if smaller. That means it's safe to call with really large values, kids.
Parameters:
af - An autofile structure. The file will be opened if not already open.
- s Number of bytes to write.
Returns:
Number of bytes actually written. Your hook may have gotten the passed-in number, which may differ in disk-full conditions.
Author:
Ronny Bangsund
See Also:
autofile, file_new(), file_writehook()

Alphabetic index



This page was generated with the help of DOC++.