Reads a number of blocks from an input (buffered)
Source position: amigados.pas line 2253
function FRead( |
Fh: Pointer; |
Block: Pointer; |
Blocklen: LongWord; |
Number: LongWord |
):LongInt; |
Fh |
|
filehandle to use for buffered I/O |
Block |
|
Area to read bytes into. |
Blocklen |
|
number of bytes per block. Must be > 0. |
Number |
|
number of blocks to read. Must be > 0. |
Number of _blocks_ read, or 0 for EOF. On an error, the number of blocks actually read is returned.
Attempts to read a number of blocks, each blocklen long, into the specified buffer from the input stream. May return less than the number of blocks requested, either due to EOF or read errors. This call is buffered.
|
Read a character from the specified input (buffered) |
|
|
Writes a number of blocks to an output (buffered) |
|
|
Reads a line from the specified input (buffered) |