Unit 'AmigaDOS' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

FPutC

Write a character to the specified output

Declaration

Source position: amigados.pas line 1837

function FPutC(

  fh: LongInt;

  ch: LongInt

):LongInt;

Function result

Either the character written, or EOF for an error.

Description

Writes a single character to the output stream. This call is buffered. Use DosFlush() between buffered and unbuffered I/O on a filehandle. Interactive filehandles are flushed automatically on a newline, return, 0, or line feed.

See also

FGetC

  

Read a character from the specified input (buffered)

UnGetC

  

Makes a char available for reading again. (buffered)

DosFlush

  

Flushes buffers for a buffered filehandle


Documentation generated on: 2021-07-30