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

FGetC

Read a character from the specified input (buffered)

Declaration

Source position: amigados.pas line 2250

function FGetC(

  File_: Pointer

):LongInt;

Arguments

File_

  

filehandle to use for buffered I/O

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