Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#os4units]

FGetC

Read a character from the specified input (buffered)

Declaration

Source position: amigados.pas line 2483

function FGetC(

  Fh: LongInt

):LongInt;

Function result

character read (0-255) or -1

Description

Reads the next character from the input stream. A -1 is returned when EOF or an error is encountered. This call is buffered. Use DosFlush() between buffered and unbuffered I/O on a filehandle.

See also

FPutC

  

Write a character to the specified output

UnGetC

  

Makes a char available for reading again. (buffered)

DosFlush

  

Flushes buffers for a buffered filehandle


Documentation generated on: 2021-07-30