Writes a number of blocks to an output (buffered)
Source position: amigados.pas line 1851
function FWrite( |
fh: LongInt; |
block: Pointer; |
blocklen: Cardinal; |
number: Cardinal |
):LongInt; |
fh |
|
filehandle to use for buffered I/O |
block |
|
Area to write bytes from. |
blocklen |
|
Number of blocks to block. Must be > 0. |
Number of _blocks_ written. On an error, the number of blocks actually written is returned.
Attempts to write a number of blocks, each blocklen long, from the specified buffer to the output stream. May return less than the number of blocks requested, if there is some error such as a full disk or r/w error. This call is buffered.
|
Write a character to the specified output |
|
|
Reads a number of blocks from an input (buffered) |
|
|
Writes a string the the specified output |