Reads a number of blocks from an input (buffered)
Source position: amigados.pas line 1646
function FRead( |
fh: LongInt; |
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) |