Writes a number of blocks to an output (buffered)
Source position: amigados.pas line 2254
function FWrite( |
Fh: Pointer; |
Block: Pointer; |
Blocklen: LongWord; |
NumBlocks: LongWord |
):LongInt; |
Fh |
|
filehandle to use for buffered I/O |
Block |
|
Area to write bytes from. |
Blocklen |
|
Number of blocks to block. Must be > 0. |
NumBlocks |
|
Number of bytes per write. 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 |